On 02/11/2011, at 7:16 PM, gavares wrote: > I have some java files which, when run through the java compiler generate > warning: > > warning: unmappable character for encoding ASCII > > The behaviour when building with Ant is that the warnings are printed but do > not cause the build to fail. After migrating to Gradle, the build fails as a > result of these warnings. > > How can I configure the compileJava task to ignore warnings or at least > treat them as warnings and not errors?
Gradle doesn't turn any warnings into errors by default. I just tried locally and this comes up as just a warning for me. Make sure there isn't another error somewhere that is causing it to fail. -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
