Skip to content

Commit fe9518b

Browse files
Specify the output paths of the scenario app lint task (flutter#27684)
1 parent cec1dbc commit fe9518b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

testing/scenario_app/android/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ gradle_task("android_lint") {
3030
task = "lint"
3131
gradlew_dir = rebase_path(".")
3232
sources = _android_sources
33-
outputs = [ "$root_out_dir/scenario_app/build/reports" ]
33+
outputs = [ "$root_out_dir/scenario_app/reports/lint-results.xml" ]
3434
deps = [ "//flutter/testing/scenario_app:scenario_app_snapshot" ]
3535
}
3636

testing/scenario_app/android/app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ android {
1515
showAll true
1616
warningsAsErrors true
1717
checkTestSources true
18+
htmlReport false
19+
xmlReport true
20+
xmlOutput file("${rootProject.buildDir}/reports/lint-results.xml")
1821
// UnpackedNativeCode can break stack unwinding - see b/193408481
1922
// NewerVersionAvailable and GradleDependency need to be taken care of
2023
// by a roller rather than as part of CI.

0 commit comments

Comments
 (0)