android: Print deprecated warnings

This commit is contained in:
Vishesh Handa
2020-01-25 13:45:22 +01:00
parent 81be9c43ba
commit 74b244d125

View File

@ -38,3 +38,9 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}