On 02/10/2011, at 1:21 PM, Hans Dockter wrote:
On Thu, Sep 29, 2011 at 5:29 PM, Luke Daley luke.da...@gradleware.com wrote:
On 28/09/2011, at 9:15 PM, phil swenson wrote:
I'm sure you meant -Werror instead of -Xlint:unchecked
In any case it doesn't seem to do anything on the java
On Thu, Sep 29, 2011 at 5:29 PM, Luke Daley luke.da...@gradleware.comwrote:
On 28/09/2011, at 9:15 PM, phil swenson wrote:
I'm sure you meant -Werror instead of -Xlint:unchecked
In any case it doesn't seem to do anything on the java tasks (I put in
some deprecated uses an get the
On 28/09/2011, at 9:15 PM, phil swenson wrote:
I'm sure you meant -Werror instead of -Xlint:unchecked
In any case it doesn't seem to do anything on the java tasks (I put in
some deprecated uses an get the compiler warning
I tried both
(in my build.gradle)
compileJava {
anyway to do this for groovy?
thanks
phil
On Fri, Sep 2, 2011 at 11:51 AM, Luke Daley luke.da...@gradleware.com wrote:
On 30/08/2011, at 5:47 PM, phil swenson wrote:
Is there a way to break a gradle build if there is a compile warning?
People are ignoring the compiler warnings, and this
It's the same syntax.
To set it for all Java and Groovy compile tasks:
tasks.matching { it instanceof Compile || it instanceof GroovyCompile }.all {
options.compilerArgs -Xlint:unchecked
}
On 28/09/2011, at 5:20 PM, phil swenson wrote:
anyway to do this for groovy?
thanks
phil
On
I'm sure you meant -Werror instead of -Xlint:unchecked
In any case it doesn't seem to do anything on the java tasks (I put in
some deprecated uses an get the compiler warning
I tried both
(in my build.gradle)
compileJava {
options.compilerArgs -Werror
}
and your tasks.matching
On 30/08/2011, at 5:47 PM, phil swenson wrote:
Is there a way to break a gradle build if there is a compile warning?
People are ignoring the compiler warnings, and this would be a stop to
it :)
This should work:
compileJava {
options.compilerArgs -Werror
}
Inspiration taken from
Is there a way to break a gradle build if there is a compile warning?
People are ignoring the compiler warnings, and this would be a stop to
it :)
-
To unsubscribe from this list, please visit: