Hello,

In my application I have a library developed by a 3rd party that 
unfortunately contains quite a few warnings. I'd like to ignore these since 
they can't be fixed by our team and they are polluting our build logs. I 
have tried the following in my build.gradle:

   - Adding the following to my android block
   
    lintOptions {
        ignoreWarnings = true
    }



   - Adding this to the end of my build.gradle

afterEvaluate {
    tasks.withType(JavaCompile) {
         it.options.compilerArgs << "-Xlint:none" << "-nowarn"
    }
}


>From what I understand, this should silence all warnings, but unfortunately 
I am not seeing that. Whenever ":compileDebugJavaWithJavac" runs, it still 
outputs all the warnings. Is there a way for me to silence these? I am 
running gradle 2.9 with the android plugin 1.5. I know one alternative is 
to just pre-build the library but I find having the source in the project 
to be helpful for debugging / code clarity purposes.


Thanks for any help you can provide. 

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to