Merge pull request #1785 from hiqua/android_lint_baseline

Check android lint violations against current baseline
pull/1942/head
Alinson S. Xavier 1 year 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() {
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 {

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