opas90
01/19/2017, 5:56 PMfindbugs {
sourceSets = [sourceSets.main]
ignoreFailures = false
reportsDir = file( "$project.buildDir/findbugsReports" )
effort = "max"
reportLevel = "high"
}
tasks.withType(FindBugs) {
reports {
xml.enabled false
html.enabled true
}
}
The commented code is something not working
configure<FindBugsExtension> {
// sourceSets = [sourceSets.main]
isIgnoreFailures = true
reportsDir = file("$project.buildDir/findbugsReports")
effort = "max"
reportLevel = "high"
}
tasks.withType(FindBugs::class.java) {
// reports {
// xml.enabled false
// html.enabled true
// }
}