From c43877eed1184d7cec2b6113d6fa808683b4a7d7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 7 Apr 2017 19:08:49 +0200 Subject: [PATCH] demote lint ImpliedQuantity to warning This is hitting a lot of plurals, causing the CI builds to fail. But unfortunately, its getting it wrong. Its actually for a format in a string like "Updated today" in languages like pt that need special cases for 0/1 items. In this case, it makes no sense to say "Updated 0 days ago". --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 4bd235691..8e3e4e038 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -249,7 +249,7 @@ android { disable 'MissingTranslation' // to make CI fail on errors until this is fixed https://github.com/rtyley/spongycastle/issues/7 - warning 'InvalidPackage' + warning 'InvalidPackage', 'ImpliedQuantity' error 'AppCompatMethod', 'NestedScrolling', 'StringFormatCount', 'UnsafeProtectedBroadcastReceiver' }