From 85c8350f10e49e2125c7fc067b9b3c51511bcd09 Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Tue, 7 May 2024 11:27:58 -0300 Subject: [PATCH] Use Java 22 --- .sdkmanrc | 4 ++-- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.sdkmanrc b/.sdkmanrc index e095638695..f746cf99b8 100644 --- a/.sdkmanrc +++ b/.sdkmanrc @@ -1,2 +1,2 @@ -java=21.0.2-amzn -gradle=8.7 +java=22-amzn +gradle=8.8-rc-1 diff --git a/build.gradle b/build.gradle index c74cc24976..249d680bbe 100644 --- a/build.gradle +++ b/build.gradle @@ -24,8 +24,8 @@ subprojects { javadoc.failOnError = false java { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_22 + targetCompatibility = JavaVersion.VERSION_22 } tasks.withType(JavaCompile) {