THRIFT-5699: java lib and build tool chain: gradle 8.0.2 (#2779)
diff --git a/lib/java/gradle/sourceConfiguration.gradle b/lib/java/gradle/sourceConfiguration.gradle
index 7eccc73..e3e143a 100644
--- a/lib/java/gradle/sourceConfiguration.gradle
+++ b/lib/java/gradle/sourceConfiguration.gradle
@@ -21,7 +21,7 @@
// ----------------------------------------------------------------------------
// Compiler configuration details
-// We are using Java 17 toolchain to compile.
+// We are using Java 17 (latest LTS) toolchain to compile.
// This enables decoupling from the Java version that gradle runs, from
// the actual JDK version for the project. For more details, see
// https://docs.gradle.org/current/userguide/toolchains.html
diff --git a/lib/java/gradle/unitTests.gradle b/lib/java/gradle/unitTests.gradle
index 293bcca..1e7481b 100644
--- a/lib/java/gradle/unitTests.gradle
+++ b/lib/java/gradle/unitTests.gradle
@@ -24,7 +24,7 @@
description = 'Assembles a jar archive containing the test classes.'
project.test.dependsOn it
- classifier 'test'
+ archiveClassifier = 'test'
from sourceSets.test.output
}