Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
netdpb committed Nov 16, 2023
1 parent b5d652d commit fdefd20
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ tasks.withType(JavaCompile).configureEach {

options.compilerArgs.addAll(
["api", "code", "comp", "file", "main", "model", "parser", "processing", "resources", "tree", "util"]
.collect {
"--add-exports=jdk.compiler/com.sun.tools.javac.$it=ALL-UNNAMED"
})
.collect { "--add-exports=jdk.compiler/com.sun.tools.javac.$it=ALL-UNNAMED" })
}

tasks.withType(Test).configureEach {
Expand All @@ -69,9 +67,7 @@ tasks.withType(Test).configureEach {

// Required because checker-framework uses APIs from these modules.
jvmArgs(["code", "comp", "main", "processing", "tree", "util"]
.collect {
"--add-opens=jdk.compiler/com.sun.tools.javac.$it=ALL-UNNAMED"
})
.collect { "--add-opens=jdk.compiler/com.sun.tools.javac.$it=ALL-UNNAMED" })

testLogging {
showStackTraces = false
Expand Down

0 comments on commit fdefd20

Please sign in to comment.