Update Java dependencies
Update most dependencies to their latest versions, replace findbugs with
spotbugs as the former is dead and was replaced with the latter.
Fixes THRIFT-4937.
Client: java
diff --git a/lib/java/build.gradle b/lib/java/build.gradle
index 5f0d278..9184f7b 100644
--- a/lib/java/build.gradle
+++ b/lib/java/build.gradle
@@ -36,6 +36,12 @@
id 'maven'
id 'signing'
id 'com.github.johnrengelman.shadow' version '4.0.4'
+ id "com.github.spotbugs" version "2.0.0"
+}
+
+ext {
+ // https://github.com/spotbugs/spotbugs-gradle-plugin/issues/32#issuecomment-409951172
+ SpotBugsTask = com.github.spotbugs.SpotBugsTask
}
description = 'Apache Thrift Java Library'