compileJava encoding not working via compilerArgs?

compileJava.options.compilerArgs = [’-encoding’, ‘ISO-8859-1’] doesn’t seem to be working on recent releases (I’m using compileJava.options.encoding which works though).

Probably this is related to fixing

If you set both, one will win (behavior should be same as for javac). Apart from that, both notations should work. Which version of Gradle did you try with? Which OS?

Sorry for the lack of detail.

If I go only with the compilerArgs method, it doesn’t seem to work in 1.0-rc-2 on Linux (Centos 6.0).