Bump com.github.spotbugs from 4.7.1 to 5.0.14 in /lib/java (#2797)

diff --git a/lib/java/build.gradle b/lib/java/build.gradle
index f04f34d..6807704 100644
--- a/lib/java/build.gradle
+++ b/lib/java/build.gradle
@@ -41,7 +41,7 @@
     id 'signing'
     id 'pmd'
     id 'com.github.johnrengelman.shadow' version '8.1.1'
-    id "com.github.spotbugs" version "4.7.1"
+    id "com.github.spotbugs" version "5.0.14"
     id "com.diffplug.spotless" version "6.18.0"
 }