diff --git a/shell/platform/android/test_runner/build.gradle b/shell/platform/android/test_runner/build.gradle index 303a13cf31edc..2b4748aa1f64d 100644 --- a/shell/platform/android/test_runner/build.gradle +++ b/shell/platform/android/test_runner/build.gradle @@ -18,9 +18,11 @@ apply plugin: "com.android.library" rootProject.buildDir = project.property("build_dir") // Shows warnings for usage of deprecated API usages. +// TODO(camsim99): Make deprecation warnings fatal and remove limit when all +// 434 (at the time of this comment) deprecations are fixed. gradle.projectsEvaluated { tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:deprecation" + options.compilerArgs << "-Xlint:deprecation" << "-Xmaxwarns" << "434" } }