Merge pull request #1785 from hiqua/android_lint_baseline

Check android lint violations against current baseline
pull/1942/head
Alinson S. Xavier 2 years ago committed by GitHub
commit c216fb01d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -64,6 +64,7 @@ fail() {
core_build() { core_build() {
log_info "Building uhabits-core..." log_info "Building uhabits-core..."
$GRADLE ktlintCheck || fail $GRADLE ktlintCheck || fail
$GRADLE lintDebug || fail
$GRADLE :uhabits-core:build || fail $GRADLE :uhabits-core:build || fail
} }

@ -91,6 +91,12 @@ android {
buildFeatures { buildFeatures {
viewBinding = true viewBinding = true
} }
lint {
baseline = file("lint-baseline.xml")
disable += "GradleDependency"
warningsAsErrors = true
}
} }
dependencies { dependencies {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save