OnJava8-Examples/gradle/findbugs.gradle
2016-11-06 08:10:12 -05:00

16 lines
228 B
Groovy

apply plugin: 'findbugs'
findbugs {
ignoreFailures = true
}
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
task findbugs {
dependsOn tasks.withType(FindBugs)
}