diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index 5e784b5d6904..28114f961519 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -240,7 +240,7 @@ jobs:
:lib:shared:testDebugUnitTest
- gradle-task: :test:arch:test --rerun-tasks
- gradle-task: detekt
- - gradle-task: lint
+ - gradle-task: :app:lint
steps:
# Fix for HOME path overridden by GH runners when building in containers, see:
# https://github.com/actions/runner/issues/863
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index 8e252e1fc6a5..cb5737e3ffbb 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -47,7 +47,9 @@ android {
lint {
lintConfig = file("${rootProject.projectDir}/config/lint.xml")
+ baseline = file("${rootProject.projectDir}/config/lint-baseline.xml")
abortOnError = true
+ checkAllWarnings = true
warningsAsErrors = true
checkDependencies = true
}
diff --git a/android/config/lint-baseline.xml b/android/config/lint-baseline.xml
new file mode 100644
index 000000000000..f43a56a8604e
--- /dev/null
+++ b/android/config/lint-baseline.xml
@@ -0,0 +1,403 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/android/config/lint.xml b/android/config/lint.xml
index 981075ff91c3..37ce4b5c8280 100644
--- a/android/config/lint.xml
+++ b/android/config/lint.xml
@@ -14,4 +14,5 @@
+