summaryrefslogtreecommitdiff
path: root/library/self.gradle
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2016-11-23 11:37:38 -0800
committerMaurice Lam <yukl@google.com>2016-12-12 19:15:44 +0000
commit63cdc5ccb7f1f61d0e752e38d7e57c690658a0ac (patch)
tree34230542c2c90044ed27a92d804db8699b00b49e /library/self.gradle
parente57bdc10c8e4a348c1410234e45346cf31215a34 (diff)
downloadsetupwizard-63cdc5ccb7f1f61d0e752e38d7e57c690658a0ac.tar.gz
[SuwLib] Turn on fatal lint
Fix (or suppress) lint warnings and make it fatal again in the build process. Additionally, warnings are treated as errors now. If there are warnings that are not applicable, add @SuppressLint or tools:ignore to suppress the warning, so code reviewers can be aware of the lint issue too. Test: ./gradlew lint Change-Id: I63c83ff1b95a0817dc2ac777adce0fa9f9ebd45a
Diffstat (limited to 'library/self.gradle')
-rw-r--r--library/self.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/self.gradle b/library/self.gradle
index e155fee..26020a6 100644
--- a/library/self.gradle
+++ b/library/self.gradle
@@ -35,11 +35,11 @@ android.sourceSets {
android.defaultConfig.testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
android.lintOptions {
- // TODO: Fix lint errors and re-enable fatal lint
- abortOnError false
+ abortOnError true
htmlReport true
textOutput 'stderr'
textReport true
+ warningsAsErrors true
xmlReport false
}