Currently the module-info.java file needs to be in the same directory as the other sources. For use with mixedJavaRelease this is rather unfortunate as I now have to either use my IDE with the language level set to 9 (even though I am only targeting 8) or 8, which causes the IDE to report an error for the module-info.java file.
It would be great to have the option to place the module-info.java file in a separate folder, which ideally would be marked as a source set with the appropriate sourceCompatibility passed to mixedJavaRelease.
Currently the
module-info.javafile needs to be in the same directory as the other sources. For use withmixedJavaReleasethis is rather unfortunate as I now have to either use my IDE with the language level set to9(even though I am only targeting8) or8, which causes the IDE to report an error for themodule-info.javafile.It would be great to have the option to place the
module-info.javafile in a separate folder, which ideally would be marked as a source set with the appropriatesourceCompatibilitypassed tomixedJavaRelease.