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"
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user