Lint - baseline of errors.

* qa task calls lint.
This commit is contained in:
Alan Evans
2019-05-24 15:14:07 -03:00
parent 350d1f47d3
commit c8c152fe60
2 changed files with 59 additions and 3 deletions

View File

@@ -424,8 +424,9 @@ android {
website.manifest.srcFile 'website/AndroidManifest.xml'
}
lintOptions {
abortOnError false
lintOptions {
abortOnError true
baseline file("lint-baseline.xml")
}
testOptions {
@@ -528,5 +529,5 @@ static def autoResConfig() {
task qa {
group 'Verification'
description 'Quality Assurance. Run before pushing.'
dependsOn ':testPlayReleaseUnitTest', ':assemblePlayDebug'
dependsOn ':testPlayReleaseUnitTest', ':lintPlayRelease', ':assemblePlayDebug'
}