mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 18:07:03 +05:30
chore(build): make Lint errors fatal
This commit is contained in:
parent
9ab8a3e149
commit
d7cc55ed53
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ class AndroidCommonPlugin : Plugin<Project> {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun Lint.configureLint(project: Project) {
|
private fun Lint.configureLint(project: Project) {
|
||||||
abortOnError = false
|
abortOnError = true
|
||||||
checkReleaseBuilds = false
|
checkReleaseBuilds = true
|
||||||
warningsAsErrors = false
|
warningsAsErrors = true
|
||||||
disable.add("DialogFragmentCallbacksDetector")
|
disable.add("DialogFragmentCallbacksDetector")
|
||||||
error.add("ComposeM2Api")
|
error.add("ComposeM2Api")
|
||||||
baseline = project.file("lint-baseline.xml")
|
baseline = project.file("lint-baseline.xml")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue