Disable lint warnings in command-line builds
There are just too many now, and they hide actual compilation errors. They can still be viewed in the HTML report.
This commit is contained in:
parent
2d14e3c1c4
commit
4c75f6078d
@ -172,13 +172,6 @@ android {
|
|||||||
disable 'MissingTranslation'
|
disable 'MissingTranslation'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Enable all Android lint warnings
|
|
||||||
gradle.projectsEvaluated {
|
|
||||||
tasks.withType(JavaCompile) {
|
|
||||||
options.compilerArgs << "-Xlint:all"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This person took the example code below from another blogpost online, however
|
// This person took the example code below from another blogpost online, however
|
||||||
|
Loading…
x
Reference in New Issue
Block a user