diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7d45827ac1..a9239bc25f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -341,32 +341,15 @@ jobs:
lightbend.github.io:443
guava.dev:443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- - name: Set up JDK ${{ env.PUBLISH_JDK }}
- uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
- with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
- with: |
- distribution: temurin
- java-version: ${{ env.PUBLISH_JDK }}
- attempt_limit: 3
- attempt_delay: 2000
- - name: Setup Gradle
- uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
- timeout-minutes: 5
- with:
- action: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- with: |
- add-job-summary: never
- cache-read-only: false
- gradle-home-cache-cleanup: true
- attempt_limit: 3
- attempt_delay: 2000
- name: Publish Snapshot
+ uses: ./.github/actions/run-gradle
env:
- JAVA_VERSION: ${{ env.PUBLISH_JDK }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
- run: ./gradlew --no-configuration-cache publishToSonatype
+ with:
+ java: ${{ env.PUBLISH_JDK }}
+ token: ${{ secrets.GITHUB_TOKEN }}
+ arguments: publishToSonatype --no-configuration-cache
diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml
index a8723451f0..11ebf638b8 100644
--- a/.github/workflows/codacy.yml
+++ b/.github/workflows/codacy.yml
@@ -47,7 +47,7 @@ jobs:
if: steps.check_files.outputs.files_exists == 'true'
run: jq -c '.runs |= unique_by({tool, invocations, results})' < results.sarif > codacy.sarif
- name: Upload result to GitHub Code Scanning
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
if: steps.check_files.outputs.files_exists == 'true'
continue-on-error: true
with:
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index b3dce9a963..cd2175082b 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -22,7 +22,7 @@ permissions:
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- JAVA_VERSION: 11
+ JAVA_VERSION: 17
jobs:
analyze:
@@ -55,7 +55,7 @@ jobs:
uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
timeout-minutes: 5
with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
+ action: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with: |
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
@@ -73,10 +73,10 @@ jobs:
attempt_limit: 3
attempt_delay: 2000
- name: Initialize CodeQL
- uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/init@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
with:
languages: java
- name: Autobuild
- uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/autobuild@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/analyze@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml
index 1d1862a8b3..1f22d1681c 100644
--- a/.github/workflows/dependency-check.yml
+++ b/.github/workflows/dependency-check.yml
@@ -57,7 +57,7 @@ jobs:
with:
files: build/reports/dependency-check-report.sarif
- name: Upload result to GitHub Code Scanning
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
if: steps.check_files.outputs.files_exists == 'true'
with:
sarif_file: build/reports/dependency-check-report.sarif
diff --git a/.github/workflows/dependency-submission-pr-submit.yml b/.github/workflows/dependency-submission-pr-submit.yml
index c405df63f7..2a96f03df6 100644
--- a/.github/workflows/dependency-submission-pr-submit.yml
+++ b/.github/workflows/dependency-submission-pr-submit.yml
@@ -36,7 +36,7 @@ jobs:
uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
timeout-minutes: 5
with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
+ action: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with: |
cache: gradle
distribution: temurin
diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml
index 074be81455..71600038d0 100644
--- a/.github/workflows/dependency-submission.yml
+++ b/.github/workflows/dependency-submission.yml
@@ -36,7 +36,7 @@ jobs:
uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
timeout-minutes: 5
with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
+ action: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with: |
cache: gradle
distribution: temurin
diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml
index ed8f8958aa..87c6b07b83 100644
--- a/.github/workflows/devskim.yml
+++ b/.github/workflows/devskim.yml
@@ -31,6 +31,6 @@ jobs:
- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@b41921d947434b27f90b8949f8bfbe056e706bf6 # v1.0.11
- name: Upload DevSkim scan results to GitHub Security tab
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
with:
sarif_file: devskim-results.sarif
diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml
index 927a370381..e9fc95f703 100644
--- a/.github/workflows/examples.yml
+++ b/.github/workflows/examples.yml
@@ -37,7 +37,7 @@ jobs:
uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
timeout-minutes: 5
with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
+ action: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with: |
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml
index 951b244777..27fd995b55 100644
--- a/.github/workflows/qodana.yml
+++ b/.github/workflows/qodana.yml
@@ -63,6 +63,6 @@ jobs:
with:
upload-result: true
- name: Upload SARIF file for GitHub Advanced Security Dashboard
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0879740168..5837165ad0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,34 +19,17 @@ jobs:
disable-sudo: true
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- - name: Set up JDK ${{ env.JAVA_VERSION }}
- uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
- timeout-minutes: 5
- with:
- action: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
- with: |
- distribution: temurin
- java-version: ${{ env.JAVA_VERSION }}
- attempt_limit: 3
- attempt_delay: 2000
- - name: Setup Gradle
- uses: Wandalen/wretry.action@0ef67d343938e879e0a9bb37c107a55731e8ed35 # v1.4.5
- timeout-minutes: 5
- with:
- action: gradle/actions/setup-gradle@b6816cf21e7970b88479bb3c57d9cbe5cdd4b949 # v3.0.0-rc.1
- with: |
- add-job-summary: never
- cache-read-only: false
- gradle-home-cache-cleanup: true
- attempt_limit: 3
- attempt_delay: 2000
- name: Releasing
+ uses: ./.github/actions/run-gradle
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
- run: >
- ./gradlew --no-configuration-cache
- publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease
+ with:
+ java: ${{ env.JAVA_VERSION }}
+ token: ${{ secrets.GITHUB_TOKEN }}
+ arguments: >
+ publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease
+ --no-configuration-cache
diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml
index 3ac157c944..18d764eb1b 100644
--- a/.github/workflows/scorecards-analysis.yml
+++ b/.github/workflows/scorecards-analysis.yml
@@ -53,6 +53,6 @@ jobs:
path: results.sarif
retention-days: 5
- name: Upload to code-scanning
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
with:
sarif_file: results.sarif
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml
index 5f0f303ad0..1584fcb51a 100644
--- a/.github/workflows/semgrep.yml
+++ b/.github/workflows/semgrep.yml
@@ -34,7 +34,7 @@ jobs:
if: steps.check_files.outputs.files_exists == 'true'
run: jq -c '.runs[0].tool.driver.rules |= unique_by(.id)' < results.sarif > semgrep.sarif
- name: Upload SARIF file for GitHub Advanced Security Dashboard
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
if: steps.check_files.outputs.files_exists == 'true'
continue-on-error: true
with:
diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml
index d99f1cf302..94029a313c 100644
--- a/.github/workflows/snyk.yml
+++ b/.github/workflows/snyk.yml
@@ -52,7 +52,7 @@ jobs:
with:
files: snyk.sarif
- name: Upload result to GitHub Code Scanning
- uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
+ uses: github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5 # v2.16.3
if: steps.check_files.outputs.files_exists == 'true'
with:
sarif_file: snyk.sarif
diff --git a/.java-version b/.java-version
index 2dbc24b32d..03b6389f32 100644
--- a/.java-version
+++ b/.java-version
@@ -1 +1 @@
-11.0
+17.0
diff --git a/.tool-versions b/.tool-versions
index 971e3888c7..91abe9545c 100644
--- a/.tool-versions
+++ b/.tool-versions
@@ -1 +1 @@
-java 11
+java 17
diff --git a/examples/coalescing-bulkloader-reactor/gradle/wrapper/gradle-wrapper.properties b/examples/coalescing-bulkloader-reactor/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/examples/coalescing-bulkloader-reactor/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/coalescing-bulkloader-reactor/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/examples/graal-native/gradle/wrapper/gradle-wrapper.properties b/examples/graal-native/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/examples/graal-native/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/graal-native/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/examples/hibernate/gradle/wrapper/gradle-wrapper.properties b/examples/hibernate/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/examples/hibernate/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/hibernate/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/examples/resilience-failsafe/gradle/wrapper/gradle-wrapper.properties b/examples/resilience-failsafe/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/examples/resilience-failsafe/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/resilience-failsafe/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/examples/write-behind-rxjava/gradle/wrapper/gradle-wrapper.properties b/examples/write-behind-rxjava/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/examples/write-behind-rxjava/gradle/wrapper/gradle-wrapper.properties
+++ b/examples/write-behind-rxjava/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/gradle/config/spotbugs/exclude.xml b/gradle/config/spotbugs/exclude.xml
index c512991bff..462ee2e2e4 100644
--- a/gradle/config/spotbugs/exclude.xml
+++ b/gradle/config/spotbugs/exclude.xml
@@ -274,6 +274,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 66f7d61a36..8da8a85743 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -3,13 +3,13 @@ asm = "9.6"
auto-value = "1.10.4"
awaitility = "4.2.0"
bcel = "6.8.2"
-bnd = "6.4.0"
+bnd = "7.0.0"
bouncycastle-jdk15on = "1.70"
bouncycastle-jdk18on = "1.77"
cache2k = "2.6.1.Final"
caffeine = "3.1.8"
checker-framework = "3.42.0"
-checkstyle = "10.13.0"
+checkstyle = "10.14.0"
coherence = "22.06.2"
commons-collections4 = "4.4"
commons-compress = "1.26.0"
diff --git a/gradle/plugins/build.gradle.kts b/gradle/plugins/build.gradle.kts
index 5afacd65fd..14cccbfcce 100644
--- a/gradle/plugins/build.gradle.kts
+++ b/gradle/plugins/build.gradle.kts
@@ -16,7 +16,8 @@ plugins {
alias(libs.plugins.versions)
}
-java.toolchain.languageVersion = JavaLanguageVersion.of(11)
+require(JavaVersion.current() >= JavaVersion.VERSION_17) { "Java 17 or greater is required" }
+java.toolchain.languageVersion = JavaLanguageVersion.of(17)
dependencies {
implementation(libs.bnd)
@@ -60,7 +61,6 @@ tasks.withType {
}
}
}
- force(libs.bnd)
}
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 585fc97886..16d75bc11a 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,4 +1,4 @@
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-rc-1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
diff --git a/jitpack.yml b/jitpack.yml
index 6c62abcaa2..f57d7fe8e2 100644
--- a/jitpack.yml
+++ b/jitpack.yml
@@ -1,5 +1,5 @@
before_install:
- source "$HOME/.sdkman/bin/sdkman-init.sh"
- sdk update
- - sdk install java 11.0.13-zulu
- - sdk use java 11.0.13-zulu
+ - sdk install java 17.0.10-zulu
+ - sdk use java 17.0.10-zulu