From c8c152fe60cfd6ea90906b72fb3986aee2a9631f Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Fri, 24 May 2019 15:14:07 -0300 Subject: [PATCH] Lint - baseline of errors. * qa task calls lint. --- build.gradle | 7 +++--- lint-baseline.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 lint-baseline.xml diff --git a/build.gradle b/build.gradle index 760667612e..97ceb9a957 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 0000000000..2e4d821e45 --- /dev/null +++ b/lint-baseline.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + +