From 0e368c6d6e5c15c66bacd5275e473f5ae659ed83 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 8 Aug 2018 11:45:52 +0200 Subject: [PATCH] only disable lint in the basic flavor for UnusedResources My hack before was actually always making exit with success, breaking the CI runs :-/ I loathe gradle and groovy with a passion. --- app/build.gradle | 6 ------ app/lint.xml | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4ad92e551..13f90b4b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -179,12 +179,6 @@ dependencies { androidTestImplementation 'com.android.support.test:rules:1.0.2' } -tasks.whenTaskAdded { task -> - if (task.name.startsWith("lintBasic")) { - android.lintOptions.abortOnError = false - } -} - checkstyle { toolVersion = '7.2' } diff --git a/app/lint.xml b/app/lint.xml index 277c6dcb1..d3783df47 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -15,6 +15,8 @@ + +