Warnings are from Android's lint, not java

This commit is contained in:
Daniel Martí 2014-12-21 14:00:00 +01:00
parent 3a7e68da9e
commit c8a62a8e79

View File

@ -47,17 +47,17 @@ android {
compileOptions.encoding = "UTF-8" compileOptions.encoding = "UTF-8"
lintOptions { // Enable all Android lint warnings
abortOnError false
}
// Enable all java warnings
gradle.projectsEvaluated { gradle.projectsEvaluated {
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all" options.compilerArgs << "-Xlint:all"
} }
} }
lintOptions {
abortOnError false
}
} }
// TODO: This person took the example code below from another blogpost online, however // TODO: This person took the example code below from another blogpost online, however