Check android lint violations against current baseline
This commit is contained in:
parent
9f66a27b82
commit
25cff3d9b0
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
|
||||
}
|
||||
|
||||
|
||||
@ -76,6 +76,11 @@ android {
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
lint {
|
||||
baseline = file("lint-baseline.xml")
|
||||
warningsAsErrors = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
7966
uhabits-android/lint-baseline.xml
Normal file
7966
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