Move lint config to build.gradle

* Removed UnusedResources from default_repo.xml, since there are none of those
  warnings anymore
* Same for TrulyRandom in the whole project
This commit is contained in:
Daniel Martí 2015-07-28 21:39:33 -07:00
parent f3e08bdc68
commit b152c682fa
2 changed files with 3 additions and 9 deletions

View File

@ -174,6 +174,9 @@ android {
lintOptions {
checkReleaseBuilds false
abortOnError false
// Our translations are crowd-sourced
disable 'MissingTranslation'
}
// Enable all Android lint warnings

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<!-- Remove severity="ignore" to see the missing translations -->
<issue id="MissingTranslation" severity="ignore" />
<issue id="TrulyRandom" severity="ignore" />
<issue id="UnusedResources" severity="ignore">
<ignore path="res/values/default_repo.xml" />
</issue>
</lint>