OnJava8-Examples/gradle/findbugs.gradle

16 lines
228 B
Groovy
Raw Normal View History

2016-11-06 08:10:12 -05:00
apply plugin: 'findbugs'
findbugs {
ignoreFailures = true
}
tasks.withType(FindBugs) {
reports {
xml.enabled = false
html.enabled = true
}
}
task findbugs {
dependsOn tasks.withType(FindBugs)
}