[GRADLE-342] Compile task needs to support the compilerarg parameters Created: 29/Dec/08 Updated: 04/Jan/13 Resolved: 03/Jan/09
|Reporter:||Hamlet D'Arcy||Assignee:||Hans Dockter|
The compile task does not currently support compiler args.
For instance, I need the following Ant script to be supported:
<target name="check-interning" depends="clean">
|Comment by Hans Dockter [ 03/Jan/09 ]|
The compile options have now a compilerArgs property.
The compilerArgs property is a list of maps. Each map corresponds to a nested javac compilerarg element. I was thinking about some nicer DSL syntax on top but so far I could not think of any that's worth it.
|Comment by Michael Ernst [ 15/Nov/10 ]|
compile.options.compilerArgs is not documented in the Gradle User Guide, so the only way a user can learn about it is via this bug report and a changelog (http://docs.codehaus.org/display/GRADLE/Gradle+0.8+Breaking+Changes), or by searching mailing lists.
It would be great if the User Guide could document this useful functionality.