We have huge project with hundreds of modules with dependencies between them.
Some of the module are Java 1.6/1.8 most of the 1.9 jigsaw.
So we are trying to add jigsaw specific compiler setting, like '--add-exports java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED'
And as expected got error message 'Error:java: invalid flag: --add-exports', so I turned off
No I get (again as expected) and error message ''Error:java: option --add-exports not allowed with target 1.8"
So now I in dead end,
What we really need is something like the settings for 'annotation processor' which there I can group the modules and give each module different settings