From ffb8e08717a7cf678dab76e8365395ae6e2d7d73 Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Tue, 8 Oct 2024 15:05:11 -0400 Subject: [PATCH] fix: upgrade from java 17 to 21 and from gradle 7.6 to 8.10 --- .github/actions/publish/action.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/pull-request-publish.yml | 2 +- build.gradle | 4 ++-- deps.toml | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 6 files changed, 7 insertions(+), 7 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() diff --git a/deps.toml b/deps.toml index 76b1f55..a49183f 100644 --- a/deps.toml +++ b/deps.toml @@ -2,7 +2,7 @@ fasterxml_version = "2.14.0" junit-jupiter = "5.9.1" log4j = "2.17.2" -lombok = "1.18.24" +lombok = "1.18.34" slf4j = "1.7.36" [libraries] diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f398c33..5c40527 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists