From 219cecf066515a749d23075034836b3c7a89e1d1 Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Wed, 5 Nov 2025 08:14:55 +0100 Subject: [PATCH] Upgrade to use Java 21 The upgrade concerns both the compilation and the CI. --- .github/workflows/ci.yml | 4 ++-- pom.xml | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5f726d6..ed013c65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v6 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v5 with: - java-version: '17' distribution: 'temurin' + java-version: '21' - name: Compile, check, and run tests run: mvn verify assembly:single diff --git a/pom.xml b/pom.xml index 1fd8fcb8..6a84f6d7 100644 --- a/pom.xml +++ b/pom.xml @@ -12,8 +12,8 @@ UTF-8 - 17 - 17 + 21 + 21 3.52.0 @@ -105,11 +105,8 @@ maven-compiler-plugin ${compiler-plugin.version} - 17 + 21 true - - --enable-preview -