From 28cefdbc0f07b5b4b0eb10751670bc438b189eef Mon Sep 17 00:00:00 2001 From: Pitterling Date: Wed, 1 Jan 2025 22:45:38 +0100 Subject: [PATCH 1/2] Java17 - sourceCompatibility , targetCompatibility --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index adee3d5..dd4c3d4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,8 +15,8 @@ if (!project.hasProperty("release")) { println("Building kSar $version") java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } application { From c51e8180120b4fb2b3d1a160c0c0f2fe20898515 Mon Sep 17 00:00:00 2001 From: Pitterling Date: Wed, 1 Jan 2025 22:51:10 +0100 Subject: [PATCH 2/2] gh-workflow - test - JAVA 17,21 - remove 11 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d85ee22..a133c55 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,8 @@ jobs: fail-fast: false matrix: java-version: - - 11 - 17 + - 21 runs-on: ubuntu-latest name: 'Test (JDK ${{ matrix.java-version }})' steps: