Skip to content

Commit

Permalink
fix javac
Browse files Browse the repository at this point in the history
  • Loading branch information
valenad1 committed Apr 11, 2024
1 parent d09d294 commit dd1830b
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 dd1830b

Please sign in to comment.