Skip to content

Instantly share code, notes, and snippets.

@martinbonnin
Created October 17, 2019 14:26
Show Gist options
  • Save martinbonnin/173614ac74038406ad3bbcb46af199ae to your computer and use it in GitHub Desktop.
Save martinbonnin/173614ac74038406ad3bbcb46af199ae to your computer and use it in GitHub Desktop.
lintOptions {
// aborts the build if an error is found
// severity is resolved at execution so once all the rules have been processed
isAbortOnError = true
// also check source code from included projects
isCheckDependencies = true
// automatically runs lint on release builds. If you run lint from your CI
// you can disable it here and save some time
isCheckReleaseBuilds = false
// also check the test sources
isCheckTestSources = true
// also check the generated sources
isCheckGeneratedSources = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment