Skip to content

Commit

Permalink
build.gradle: disabled SpotBugs for Java versions > 20
Browse files Browse the repository at this point in the history
This commit should be reverted once Java 21 is supported by SpotBugs - see: spotbugs/spotbugs#2567
  • Loading branch information
bwRavencl committed Sep 20, 2023
1 parent d3a9df1 commit 2c11455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ spotbugs {
}

tasks.withType(SpotBugsTask) {
enabled = JavaVersion.current() < JavaVersion.VERSION_21
reports {
html { required.set(true) }
xml { required.set(true) }
Expand Down

0 comments on commit 2c11455

Please sign in to comment.