Check android lint violations against current baseline
@ -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 {