Skip to content

Commit

Permalink
Run spotbugs in all configurations because it's not that slow (17 sec…
Browse files Browse the repository at this point in the history
…onds on my M1) and it's confusing to PR authors to not run.
  • Loading branch information
nedtwigg committed Jan 23, 2023
1 parent c0cd99d commit 4aa3b7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gradle/java-setup.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach {
}

tasks.named('spotbugsMain') {
// only run on Java 8 (no benefit to running twice)
enabled = org.gradle.api.JavaVersion.current() == org.gradle.api.JavaVersion.VERSION_11
reports {
html.enabled = true
}
Expand Down

0 comments on commit 4aa3b7e

Please sign in to comment.