Enable all java lint warnings
This commit is contained in:
parent
c7e9e16a6b
commit
9d2a4eb999
@ -51,6 +51,13 @@ android {
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
// Enable all java warnings
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:all"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// TODO: This person took the example code below from another blogpost online, however
|
||||
|
Loading…
x
Reference in New Issue
Block a user