Don't abort when lint task fails

This commit is contained in:
Shinokuni 2020-03-22 18:22:37 +01:00
parent 552a6df56f
commit 46a0aa0741
3 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,9 @@ android {
testOptions { testOptions {
unitTests.returnDefaultValues = true unitTests.returnDefaultValues = true
} }
lintOptions {
abortOnError false
}
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true

View File

@ -28,6 +28,10 @@ android {
androidTest.assets.srcDirs += files("$projectDir/schemas".toString()) androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
} }
lintOptions {
abortOnError false
}
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true

View File

@ -14,6 +14,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
lintOptions {
abortOnError false
}
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true