Skip to content

Display and control your Android device

Enable Java deprecation warnings details

Romain Vimont83082406d36d
diff --git a/build.gradle b/build.gradle
index 94862d2e..2755fd62 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,6 +19,9 @@ allprojects {
google()
jcenter()
}
+ tasks.withType(JavaCompile) {
+ options.compilerArgs << "-Xlint:deprecation"
+ }
}
task clean(type: Delete) {