diff --git a/gradle/java-module.gradle b/gradle/java-module.gradle index 8fbcafeb35..40bf60e45b 100644 --- a/gradle/java-module.gradle +++ b/gradle/java-module.gradle @@ -291,9 +291,9 @@ test { systemProperty 'file.encoding', 'UTF-8' } -// Enable the experimental features of ByteBuddy with JDK 15+ +// Enable the experimental features of ByteBuddy with JDK 19+ test { - if ( gradle.ext.javaVersions.test.release.asInt() >= 15 ) { + if ( gradle.ext.javaVersions.test.release.asInt() >= 19 ) { logger.warn( "The version of Java bytecode that will be tested is not supported by Bytebuddy by default. " + " Setting 'net.bytebuddy.experimental=true'." ) systemProperty 'net.bytebuddy.experimental', true diff --git a/gradle/libraries.gradle b/gradle/libraries.gradle index b0d2ec709e..67a3203ec1 100644 --- a/gradle/libraries.gradle +++ b/gradle/libraries.gradle @@ -23,8 +23,7 @@ ext { weldVersion = '3.1.8.Final' javassistVersion = '3.27.0-GA' - byteBuddyVersion = '1.10.7' - + byteBuddyVersion = '1.11.12' geolatteVersion = '1.3.0'