Open Treehopper opened 4 years ago
Now I implemented a compiler that compiles module-info.java
specifically to do this: Glavo/module-info-compiler
It just compiles module-info.java
according to module-info.java
's syntax, doesn't call javac, and doesn't do any actual checking of the module, so it can be done without configuring the module path, so it can easily be used in Java 8 projects.
JPMS is causing trouble. I excluded module-info.java files via the Maven compiler plugin. Maybe there is a better solution.