JavaOSC icon indicating copy to clipboard operation
JavaOSC copied to clipboard

Add module-info.class for java 9+ JPMS support

Open Burtan opened this issue 5 years ago • 3 comments

Add module-info.class for java 9+ JPMS support. For libraries you have to care though, that you need to have to compile the sources with java 8 and the module-info.class with 9+, otherwise you exclude users with java 8.

Burtan avatar Jan 09 '21 18:01 Burtan

If you can come up with a clean way to do exactly what you say with Maven, please make a pull request! I just tried to find out, and It seems not likely that compiling the bulk with Java 8 but compiling module-info.java with Java 9+ is possible. Am I wrong?

hoijui avatar Apr 25 '21 10:04 hoijui

I don't know about maven, but with gradle its possible. Would you like to swap the build system? Maybe I can make a pull request for it.

Burtan avatar Apr 25 '21 11:04 Burtan

I don't like gradle. I have seen many projects become fail because of it. It leaves way too much freedom to the devs, for being a build-system.

hoijui avatar Jul 26 '21 14:07 hoijui