diff --git a/android/KMEA/app/build.gradle b/android/KMEA/app/build.gradle index cf3e1b525f..9dda84ec4c 100644 --- a/android/KMEA/app/build.gradle +++ b/android/KMEA/app/build.gradle @@ -72,3 +72,9 @@ dependencies { // Assign the annotation processor for tests. testAnnotationProcessor 'com.google.auto.service:auto-service:1.0-rc4' } + +allprojects { + tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:deprecation" + } +}