use linting in debug builds
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
This commit is contained in:
parent
65b89bd2b1
commit
98e4bce319
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ android {
|
||||||
applicationIdSuffix = ".dev"
|
applicationIdSuffix = ".dev"
|
||||||
versionNameSuffix = "-dev"
|
versionNameSuffix = "-dev"
|
||||||
testCoverageEnabled = true
|
testCoverageEnabled = true
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|
Loading…
Reference in a new issue