abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJules Aguillon2024-02-10 18:03:09 +0100
committerJules Aguillon2024-02-10 18:10:49 +0100
commitf4d88cc0876ec29ff46dbda0159168ebee637afb (patch)
tree72c96a25e03f187307c1e738ca4aeb990ce3ba85 /build.gradle
parentd5676d683f031a2d23f4e01e0ada0afd58dc9b89 (diff)
downloadunexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.tar.gz
unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.zip
Fix various linter warnings
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 8ff3f0d..139b27b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -77,6 +77,11 @@ android {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
+
+ lintOptions {
+ // Translation are already checked by 'syncTranslations'
+ disable 'MissingTranslation'
+ }
}
dependencies {