This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch deps/update-java-gradle-groovy-versions
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit f166e3ed8bc9e00039e5dc0f9e84a02312c0b98b
Author: James Fredley <[email protected]>
AuthorDate: Mon Jan 26 14:37:47 2026 -0500

    Sync Java version 17.0.18 across .sdkmanrc, release.yml, and Dockerfile
---
 .github/workflows/release.yml | 2 +-
 .sdkmanrc                     | 1 +
 etc/bin/Dockerfile            | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8c4f676908..775faa0992 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ env:
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
   GRAILS_PUBLISH_RELEASE: 'true'
   JAVA_DISTRIBUTION: liberica
-  JAVA_VERSION: 17.0.17 # this must be a specific version for reproducible 
builds, keep it synced with .sdkmanrc and verification container
+  JAVA_VERSION: 17.0.18 # this must be a specific version for reproducible 
builds, keep it synced with .sdkmanrc and verification container
   PROJECT_DESC: >
     Grails is a powerful Groovy-based web application framework for the JVM,
     built on top of Spring Boot, and supported by a rich ecosystem of plugins
diff --git a/.sdkmanrc b/.sdkmanrc
index 7af7c8bc26..9ae73aba33 100644
--- a/.sdkmanrc
+++ b/.sdkmanrc
@@ -1,3 +1,4 @@
+# Keep java version synced with .github/workflows/release.yml and 
etc/bin/Dockerfile
 java=17.0.18-librca
 gradle=8.14.4
 
diff --git a/etc/bin/Dockerfile b/etc/bin/Dockerfile
index 902c397087..6250474ad1 100644
--- a/etc/bin/Dockerfile
+++ b/etc/bin/Dockerfile
@@ -16,7 +16,8 @@
 # for testing in a container that is similar to the grails github action linux 
build environment
 # run this from the root of the project
 # `docker build -t grails:testing -f etc/bin/Dockerfile . && docker run -it 
--rm -v $(pwd):/home/groovy/project grails:testing bash`
-FROM bellsoft/liberica-openjdk-debian:17.0.17
+# Keep java version synced with .sdkmanrc and .github/workflows/release.yml
+FROM bellsoft/liberica-openjdk-debian:17.0.18
 
 USER root
 RUN apt-get update && apt-get install -y curl unzip coreutils 
libdigest-sha-perl gpg vim sudo psmisc locales groovy rsync nano

Reply via email to