File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ android {
72
72
signingConfigs. release : signingConfigs. debug
73
73
}
74
74
}
75
+
76
+ lint {
77
+ // For docs on options available here:
78
+ // https://developer.android.com/reference/tools/gradle-api/8.5/com/android/build/api/dsl/Lint
79
+ checkAllWarnings = true
80
+ warningsAsErrors = true
81
+ }
75
82
}
76
83
77
84
tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
Original file line number Diff line number Diff line change @@ -362,6 +362,11 @@ run_android() {
362
362
files_check android/ \
363
363
|| return 0
364
364
365
+ # For docs on this Android linter:
366
+ # https://developer.android.com/studio/write/lint
367
+ tools/gradle -q :app:lint \
368
+ || return
369
+
365
370
flutter build apk \
366
371
|| return
367
372
You can’t perform that action at this time.
0 commit comments