forked from firka/flutter
[Android] Show deprecation warnings for Android tests (flutter/engine#31246)
This commit is contained in:
@@ -17,6 +17,13 @@ apply plugin: "com.android.library"
|
||||
|
||||
rootProject.buildDir = project.property("build_dir")
|
||||
|
||||
// Shows warnings for usage of deprecated API usages.
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
|
||||
def availableProcessors = Runtime.runtime.availableProcessors() ?: 1
|
||||
|
||||
println "=========================================="
|
||||
|
||||
Reference in New Issue
Block a user