use linting in debug builds

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
This commit is contained in:
Daniel Ziegenberg 2020-05-10 16:37:25 +02:00
parent 65b89bd2b1
commit 98e4bce319

View file

@ -21,6 +21,10 @@ android {
applicationIdSuffix = ".dev"
versionNameSuffix = "-dev"
testCoverageEnabled = true
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
lintOptions {