From 7c7bae56ff0e15b435e710c4281bb558fd4087bd Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Tue, 8 Oct 2024 15:05:11 -0400 Subject: [PATCH] upgrade from java 17 to java 21 --- .github/actions/publish/action.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/pull-request-publish.yml | 2 +- build.gradle | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/publish/action.yml b/.github/actions/publish/action.yml index 48c56cc..4e38cac 100644 --- a/.github/actions/publish/action.yml +++ b/.github/actions/publish/action.yml @@ -19,7 +19,7 @@ runs: uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "17" + java-version: "21" # java - name: Gradle Build diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9031192..51f9320 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-java@v1 with: - java-version: 17 + java-version: 21 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/pull-request-publish.yml b/.github/workflows/pull-request-publish.yml index a0b73fe..d2feba5 100644 --- a/.github/workflows/pull-request-publish.yml +++ b/.github/workflows/pull-request-publish.yml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: "zulu" - java-version: "17" + java-version: "21" - name: Generate Development Version run: | diff --git a/build.gradle b/build.gradle index c087cd9..414f849 100644 --- a/build.gradle +++ b/build.gradle @@ -177,8 +177,8 @@ subprojects { subproj -> apply plugin: 'com.github.spotbugs' apply plugin: 'pmd' - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 repositories { mavenCentral()