Warnings are from Android's lint, not java
This commit is contained in:
parent
3a7e68da9e
commit
c8a62a8e79
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user