mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 21:28:49 +00:00
settings.gradle: disable lint for good
This commit is contained in:
parent
1c353469cd
commit
a866d66f6c
2 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,6 @@ android {
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
disable 'MissingTranslation'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
|
|
|
@ -8,5 +8,9 @@ def maxGradleVersion = GradleVersion.version("7.0") // excluding
|
||||||
if (GradleVersion.current() < minGradleVersion || GradleVersion.current() >= maxGradleVersion)
|
if (GradleVersion.current() < minGradleVersion || GradleVersion.current() >= maxGradleVersion)
|
||||||
throw new GradleScriptException("build requires Gradle between ${minGradleVersion.version} (including) and ${maxGradleVersion.version} (excluding)", null)
|
throw new GradleScriptException("build requires Gradle between ${minGradleVersion.version} (including) and ${maxGradleVersion.version} (excluding)", null)
|
||||||
|
|
||||||
|
gradle.startParameter.excludedTaskNames << "lint"
|
||||||
|
gradle.startParameter.excludedTaskNames << ":oeffi:lintVitalAospRelease"
|
||||||
|
gradle.startParameter.excludedTaskNames << ":oeffi:lintVitalGoogleRelease"
|
||||||
|
|
||||||
include 'oeffi'
|
include 'oeffi'
|
||||||
include 'public-transport-enabler'
|
include 'public-transport-enabler'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue