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"
lintOptions {
abortOnError false
}
// Enable all java warnings
// Enable all Android lint warnings
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all"
}
}
lintOptions {
abortOnError false
}
}
// TODO: This person took the example code below from another blogpost online, however