Skip to content

Commit

Permalink
fix javac
Browse files Browse the repository at this point in the history
  • Loading branch information
valenad1 committed Apr 12, 2024
1 parent 034506b commit c81bf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/javaIgnoreSymbolFile.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ compileJava {
// This only works when forking and passing 'javac' as an executable
options.compilerArgs << '-XDignore.symbol.file'
options.fork = true
options.forkOptions.executable = "${System.properties['java.home']}/../bin/javac"
options.forkOptions.executable = "${System.env.JAVA_HOME}/bin/javac"
}

0 comments on commit c81bf08

Please sign in to comment.