Skip to content

Commit c849de8

Browse files
committed
Revert previous commit b/c spotbugs gives errant warnings on Java 8.
1 parent 4aa3b7e commit c849de8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gradle/java-setup.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach {
3434
}
3535

3636
tasks.named('spotbugsMain') {
37+
// only run on Java 8 (no benefit to running twice)
38+
enabled = org.gradle.api.JavaVersion.current() == org.gradle.api.JavaVersion.VERSION_11
3739
reports {
3840
html.enabled = true
3941
}

0 commit comments

Comments
 (0)