From 194bc787a281b26e5e149d4ed0d4ffffb12fb90f Mon Sep 17 00:00:00 2001 From: Alexander Kobelev Date: Sat, 17 Aug 2024 15:06:33 +0300 Subject: [PATCH] Update Java to 22 --- .idea/compiler.xml | 2 +- Dockerfile | 2 +- build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index b86273d..6030a3d 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d079c3c..6048235 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:21 +FROM openjdk:22 # Create a new app directory for my application files RUN mkdir /app diff --git a/build.gradle b/build.gradle index 56b8769..b6f2cbb 100644 --- a/build.gradle +++ b/build.gradle @@ -45,7 +45,7 @@ allprojects { java { toolchain { - languageVersion = JavaLanguageVersion.of(21) + languageVersion = JavaLanguageVersion.of(22) } }