Skip to content

Instantly share code, notes, and snippets.

@dmytrodanylyk
Last active March 11, 2017 10:15
Show Gist options
  • Save dmytrodanylyk/facc5d4a84822be479009ac6a3afe3db to your computer and use it in GitHub Desktop.
Save dmytrodanylyk/facc5d4a84822be479009ac6a3afe3db to your computer and use it in GitHub Desktop.
apply plugin: 'findbugs'
task findbugs(type: FindBugs) {
excludeFilter = file("$project.rootDir/tools/rules-findbugs.xml")
classes = fileTree("$project.buildDir/intermediates/classes/dev/debug/com/dd")
source = fileTree("$project.rootDir/src/main/java/com/dd/")
classpath = files()
reports {
xml.enabled = false
html.enabled = true
html.destination = "$project.buildDir/outputs/findbugs/findbugs.html"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment