diff --git a/build.gradle b/build.gradle index 760667612..97ceb9a95 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } diff --git a/lint-baseline.xml b/lint-baseline.xml new file mode 100644 index 000000000..2e4d821e4 --- /dev/null +++ b/lint-baseline.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + +