From 80b158e7d6e1cf0b7849b541551651d6827375a7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Jun 2016 09:10:35 +0200 Subject: [PATCH] enable build fail on lint error to catch them in CI builds The spongycastle issue is taking a long time to get resolved, has not yet affected us, and would be a lot of work to fix in a different way. So the 'InvalidPackage' error is just disabled for now. --- app/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 1db1d6ffe..63535c85d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -185,7 +185,7 @@ android { lintOptions { checkReleaseBuilds false - abortOnError false + abortOnError true htmlReport true xmlReport false @@ -200,6 +200,9 @@ android { // Like supportsRtl or parentActivityName. They are on purpose. disable 'UnusedAttribute' + + // to make CI fail on errors until this is fixed https://github.com/rtyley/spongycastle/issues/7 + disable 'InvalidPackage' } packagingOptions {