Java compiler ignore.symbol.file

Found the answer myself.

The following works in gradle 1.12:

compileJava {
	options.fork = true
	options.forkOptions.executable = 'javac'
	options.compilerArgs << "-XDignore.symbol.file"
}
1 Like