From 3c251fcb97347d9e4b77d55ddf3fee3a3e9f3550 Mon Sep 17 00:00:00 2001 From: Jim Verheijde Date: Mon, 30 Dec 2024 13:27:54 +0100 Subject: [PATCH] Bump spotbugs to 4.8.6 - Bump the spotbugs dependency from 4.2.0 to the latest version 4.8.6. - This is needed for Java 21 support, see spotbugs releasenotes: https://github.com/spotbugs/spotbugs/releases/tag/4.8.0 - Need to exclude logback from spotbugs since it's a newer version compiled with class version 55 (we are still on class version 52 with JDK 1.8). --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f1e1a1b5..4cfcba26 100644 --- a/build.gradle +++ b/build.gradle @@ -102,8 +102,9 @@ dependencies { } // SpotBugs dependencies - implementation('com.github.spotbugs:spotbugs:4.2.0') { + implementation('com.github.spotbugs:spotbugs:4.8.6') { exclude group: 'org.slf4j' + exclude group: 'ch.qos.logback' } // Scalastyle http://www.scalastyle.org/