Merge pull request #1785 from hiqua/android_lint_baseline

Check android lint violations against current baseline
This commit is contained in:
2024-04-04 21:45:37 -05:00
committed by GitHub
3 changed files with 8259 additions and 0 deletions

View File

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

View File

@@ -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