mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-19 19:42:17 +02:00
2478135b20
'WrongThread' output 100+ lines of 'Information' which obscured the error Remove these in CI Fixes 14853
20 lines
583 B
Groovy
20 lines
583 B
Groovy
// see .editorconfig for ktlint-related rules
|
|
|
|
android {
|
|
lint {
|
|
abortOnError true
|
|
checkReleaseBuilds true
|
|
checkTestSources true
|
|
explainIssues false
|
|
lintConfig file('../lint-release.xml')
|
|
showAll true
|
|
// To output the lint report to stdout set textReport=true, and leave textOutput unset.
|
|
textReport true
|
|
warningsAsErrors true
|
|
|
|
if (System.getenv("CI") == "true") {
|
|
// 14853: we want this to appear in the IDE, but it adds noise to CI
|
|
disable += "WrongThread"
|
|
}
|
|
}
|
|
} |