Bump com.github.spotbugs from 5.1.3 to 5.2.1 in /lib/java

Bumps com.github.spotbugs from 5.1.3 to 5.2.1.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/lib/java/build.gradle b/lib/java/build.gradle
index f0252ce..e5694ac 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 "5.1.3"
+    id "com.github.spotbugs" version "5.2.1"
     id "com.diffplug.spotless" version "6.22.0"
 }