File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,16 @@ moduleJvmArgs {
4141 ' jdk.compiler/com.sun.tools.javac.api' )
4242}
4343
44+ applicationDefaultJvmArgs = [
45+ ' --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' ,
46+ ' --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' ,
47+ ' --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED' ,
48+ ' --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' ,
49+ ' --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' ,
50+ ' --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' ,
51+ ' --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED'
52+ ]
53+
4454tasks. withType(JavaCompile ). named(' compileJava' ) {
4555 // By setting the source and target compatibility to 11, while still using a higher level
4656 // JDK for compilation, we can compile against the AST classes we need to support >11 source
You can’t perform that action at this time.
0 commit comments