summaryrefslogtreecommitdiffhomepage
path: root/android/lib/resource
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2024-12-16 20:44:31 +0100
committerDavid Göransson <david.goransson@mullvad.net>2024-12-17 14:57:25 +0100
commita34f08f8ec8818179770fc78a233e31f5ccb2f6a (patch)
tree477ba7a7366791b325c5f8dd11d17509c496f88f /android/lib/resource
parentd4a370813fb7c0f026389ed30b8833573bd8ede0 (diff)
downloadmullvadvpn-a34f08f8ec8818179770fc78a233e31f5ccb2f6a.tar.xz
mullvadvpn-a34f08f8ec8818179770fc78a233e31f5ccb2f6a.zip
Reference common lint config and baseline
Diffstat (limited to 'android/lib/resource')
-rw-r--r--android/lib/resource/build.gradle.kts3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/lib/resource/build.gradle.kts b/android/lib/resource/build.gradle.kts
index fa9cd5d63e..7463441274 100644
--- a/android/lib/resource/build.gradle.kts
+++ b/android/lib/resource/build.gradle.kts
@@ -22,7 +22,8 @@ android {
}
lint {
- lintConfig = file("lint.xml")
+ baseline = file("${rootProject.projectDir}/config/lint-baseline.xml")
+ lintConfig = file("${rootProject.projectDir}/config/lint.xml")
abortOnError = true
warningsAsErrors = true
}