From 7702e72acb514d41e5d4b13d6c7f085edcdd71da Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 May 2017 13:45:50 +0200 Subject: [PATCH] move lint config to lint.xml to enable ignoring specific files --- app/build.gradle | 8 +------- app/lint.xml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 app/lint.xml diff --git a/app/build.gradle b/app/build.gradle index 4207db0ea..8d5a70fee 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -245,13 +245,7 @@ android { xmlReport false textReport false - // Our translations are crowd-sourced - disable 'MissingTranslation' - - // to make CI fail on errors until this is fixed https://github.com/rtyley/spongycastle/issues/7 - warning 'InvalidPackage', 'ImpliedQuantity' - - error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver' + lintConfig file("lint.xml") } packagingOptions { diff --git a/app/lint.xml b/app/lint.xml new file mode 100644 index 000000000..c0d2f2f10 --- /dev/null +++ b/app/lint.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + +