Specify the output paths of the android_background_image lint task (flutter/engine#29630)

This commit is contained in:
Jason Simmons
2021-11-10 11:23:02 -08:00
committed by GitHub
parent 72d93b0308
commit d6af30327a
2 changed files with 5 additions and 1 deletions

View File

@@ -16,7 +16,8 @@ gradle_task("android_lint") {
task = "lint"
gradle_project_dir = rebase_path(".")
sources = _android_sources
outputs = [ "$root_out_dir/android_background_image/build/reports" ]
outputs =
[ "$root_out_dir/android_background_image/reports/lint-results.xml" ]
deps = [ "//flutter/testing/android_background_image:android_background_image_snapshot" ]
}

View File

@@ -7,6 +7,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.