From 2c1145532df114707a469e7d613d29fa545209a4 Mon Sep 17 00:00:00 2001 From: Matteo Hausner Date: Wed, 20 Sep 2023 20:29:32 +0200 Subject: [PATCH] build.gradle: disabled SpotBugs for Java versions > 20 This commit should be reverted once Java 21 is supported by SpotBugs - see: spotbugs/spotbugs#2567 --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 78d71254..202a9ae5 100644 --- a/build.gradle +++ b/build.gradle @@ -267,6 +267,7 @@ spotbugs { } tasks.withType(SpotBugsTask) { + enabled = JavaVersion.current() < JavaVersion.VERSION_21 reports { html { required.set(true) } xml { required.set(true) }