Skip to content

Commit

Permalink
KAFKA-16805 Stop using a ClosureBackedAction to configure Spotbugs re…
Browse files Browse the repository at this point in the history
…ports (apache#16081)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
  • Loading branch information
m1a2st authored May 28, 2024
1 parent 91284d8 commit a57c05b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,8 @@ subprojects {
}
test.dependsOn('spotbugsMain')

tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
reports {
tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach {
reports.configure {
// Continue supporting `xmlFindBugsReport` for compatibility
xml.enabled(project.hasProperty('xmlSpotBugsReport') || project.hasProperty('xmlFindBugsReport'))
html.enabled(!project.hasProperty('xmlSpotBugsReport') && !project.hasProperty('xmlFindBugsReport'))
Expand Down

0 comments on commit a57c05b

Please sign in to comment.