Hi Russel,

On Sep 8, 2009, at 3:42 PM, Russel Winder wrote:

I know I should know this but . . .

How to set the -Xlint:unchecked option for Java compilation when using
the joint compiler via the Groovy plugin?

Try: compile.options.fork(jvmArgs: ['-Xlint:unchecked'])

I had no opportunity to try it myself. Please give feedback whether this works for you. What the above should do, is to pass this as an argument to the inner javac element of the groovyc ant task.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to