Skip to content

Commit

Permalink
Move block
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst committed Mar 18, 2024
1 parent e32c4f2 commit 21aebfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ application {
mainClass = 'org.plumelib.javadoc.RequireJavadoc'
}

compileJava {
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED'
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED'
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED'
}

sourceCompatibility = 11
targetCompatibility = 11

Expand Down Expand Up @@ -80,12 +86,6 @@ tasks.withType(JavaCompile).configureEach {
}
}

compileJava {
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED'
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED'
options.compilerArgs += '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED'
}

/// Checker Framework pluggable type-checking

apply plugin: 'org.checkerframework'
Expand Down

0 comments on commit 21aebfd

Please sign in to comment.