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.
This commit is contained in:
Hans-Christoph Steiner 2016-06-17 09:10:35 +02:00
parent 015343f9df
commit 80b158e7d6

View File

@ -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 {