Enabled Lint with dependency checking

This commit is contained in:
ByteHamster 2021-04-17 17:25:45 +02:00
parent e6aa8831f1
commit fcf918f304
5 changed files with 7 additions and 2 deletions

View File

@ -126,7 +126,9 @@ android {
'StaticFieldLeak', 'UseCompoundDrawables', 'NestedWeights', 'Overdraw', 'UselessParent', 'TextFields',
'AlwaysShowAction', 'Autofill', 'ClickableViewAccessibility', 'ContentDescription',
'KeyboardInaccessibleWidget', 'LabelFor', 'SetTextI18n', 'HardcodedText', 'RelativeOverlap',
'RtlCompat', 'RtlHardcoded', 'MissingMediaBrowserServiceIntentFilter'
'RtlCompat', 'RtlHardcoded', 'MissingMediaBrowserServiceIntentFilter', 'VectorPath',
'InvalidPeriodicWorkRequestInterval', 'VectorDrawableCompat'
checkDependencies true
warningsAsErrors true
abortOnError true
}

View File

@ -64,7 +64,7 @@ android {
"GradleDependency", "ParcelClassLoader", "Typos", "ExtraTranslation", "ImpliedQuantity",
"PluralsCandidate", "UnusedQuantity", "StringFormatCount", "TrustAllX509TrustManager",
"StaticFieldLeak", "TypographyEllipsis", "IconDensities", "IconDuplicates", "CheckResult"
checkDependencies true
warningsAsErrors true
abortOnError true
}

View File

@ -50,6 +50,7 @@ android {
lintOptions {
disable 'GradleDependency'
checkDependencies true
warningsAsErrors true
abortOnError true
}

View File

@ -40,6 +40,7 @@ android {
lintOptions {
disable 'GradleDependency'
checkDependencies true
warningsAsErrors true
abortOnError true
}

View File

@ -40,6 +40,7 @@ android {
lintOptions {
disable 'GradleDependency'
checkDependencies true
warningsAsErrors true
abortOnError true
}