Skip to content

Commit

Permalink
Specify the output paths of the scenario app lint task (flutter#27684)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored Jul 26, 2021
1 parent cec1dbc commit fe9518b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion testing/scenario_app/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}

Expand Down
3 changes: 3 additions & 0 deletions testing/scenario_app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fe9518b

Please sign in to comment.