Specify the output paths of the scenario app lint task (flutter/engine#27684)

This commit is contained in:
Jason Simmons
2021-07-26 13:43:02 -07:00
committed by GitHub
parent 592b87f500
commit 4b035cec90
2 changed files with 4 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ gradle_task("android_lint") {
task = "lint"
gradlew_dir = rebase_path(".")
sources = _android_sources
outputs = [ "$root_out_dir/scenario_app/build/reports" ]
outputs = [ "$root_out_dir/scenario_app/reports/lint-results.xml" ]
deps = [ "//flutter/testing/scenario_app:scenario_app_snapshot" ]
}

View File

@@ -15,6 +15,9 @@ android {
showAll true
warningsAsErrors true
checkTestSources true
htmlReport false
xmlReport true
xmlOutput file("${rootProject.buildDir}/reports/lint-results.xml")
// UnpackedNativeCode can break stack unwinding - see b/193408481
// NewerVersionAvailable and GradleDependency need to be taken care of
// by a roller rather than as part of CI.