Last active
October 17, 2019 14:21
-
-
Save martinbonnin/71c6b6f979635d34bb9c856a8c4132c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lintOptions { | |
// You can put severity configuration inside an XML file. | |
// Order inside the XML file is important. | |
setLintConfig(file("lint.xml")) | |
// Change the severity of the passed issueIds. | |
// Order is important. | |
// This overrides the XML configuration. | |
fatal("UnusedResources", "MissingTranslation") | |
error("UnusedResources", "MissingTranslation") | |
warning("UnusedResources", "MissingTranslation") | |
informational("UnusedResources", "MissingTranslation") | |
ignore("UnusedResources", "MissingTranslation") | |
// turns the severity of all "warning" issues into "ignore" | |
// This is applied last and overrides the XML and methods above. | |
isIgnoreWarnings = true | |
// turns the severity of all "warning" issues into "error" | |
// This is applied last andoverrides the XML and methods above. | |
isWarningsAsErrors = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment