Merge pull request #1785 from hiqua/android_lint_baseline
Check android lint violations against current baseline
This commit is contained in:
commit
c216fb01d6
1
build.sh
1
build.sh
@ -64,6 +64,7 @@ fail() {
|
||||
core_build() {
|
||||
log_info "Building uhabits-core..."
|
||||
$GRADLE ktlintCheck || fail
|
||||
$GRADLE lintDebug || fail
|
||||
$GRADLE :uhabits-core:build || fail
|
||||
}
|
||||
|
||||
|
||||
@ -91,6 +91,12 @@ android {
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
lint {
|
||||
baseline = file("lint-baseline.xml")
|
||||
disable += "GradleDependency"
|
||||
warningsAsErrors = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
8252
uhabits-android/lint-baseline.xml
Normal file
8252
uhabits-android/lint-baseline.xml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user