[GRADLE-660] No way of setting nested javac elements in groovy compile Created: 27/Sep/09  Updated: 04/Jan/13  Resolved: 28/Sep/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.8
Fix Version/s: 0.8

Type: Bug
Reporter: Russel Winder Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

The latest Groovy versions (which will be 1.6.5 and 1.7-beta-2) allow compilerarg elements in nested javac elements of groovyc Ant task. This works fine with Ant and Gant, but it seems there is no way of setting these using Gradle.



 Comments   
Comment by Russel Winder [ 28/Sep/09 ]

Splendid that this is fixed.

Might it be worth putting an example of setting a Java option here so as to help people using search engines that find this issue.

Comment by Russel Winder [ 28/Sep/09 ]

It seems that:

compileGroovy.options.compilerArgs = ['-Xlint']

does what is required so this is well and truly fixed

Thanks.

Generated at Wed Jun 30 11:35:36 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.