You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/01/26 19:05:41 UTC

[I] Identify simpler way to keep Java, Gradle and Groovy versions the same [grails-core]

jamesfredley opened a new issue, #15352:
URL: https://github.com/apache/grails-core/issues/15352

   ### Issue description
   
   **Java version:** 
   .sdkmanrc
   .github/workflows/release.yml
   etc/bin/Dockerfile
   
   **Gradle version:**
   grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/templates/gradleWrapperProperties.rocker.raw
   gradle.properties (gradleToolingApiVersion)
   .sdkmanrc
   gradle/wrapper/gradle-wrapper.properties
   build-logic/gradle/wrapper/gradle-wrapper.properties
   grails-forge/gradle/wrapper/gradle-wrapper.properties
   grails-gradle/gradle/wrapper/gradle-wrapper.properties
   grails-profiles/base/skeleton/gradle/wrapper/gradle-wrapper.properties
   grails-profiles/profile/skeleton/gradle/wrapper/gradle-wrapper.properties
   
   The wrapper jar and scripts also change and this requires updates to those files in many locations.
   
   **Groovy Version:**
   dependencies.gradle
   grails-forge/gradle.properties (latest 3.0.x, currently)
   
   Gradle 8.x.x includes Groovy 3.0.x and Gradle 9.x.x includes Groovy 4.0.x
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Identify simpler way to keep Java, Gradle and Groovy versions the same [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on issue #15352:
URL: https://github.com/apache/grails-core/issues/15352#issuecomment-3830061943

   https://github.com/apache/grails-core/blob/a88494b4dd1e86bc0ab1f75c0b4e000284903848/gradle-bootstrap/build.gradle#L29 is the link to the bootstrap task that replaces all of the gradlew files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Identify simpler way to keep Java, Gradle and Groovy versions the same [grails-core]

Posted by "jamesfredley (via GitHub)" <gi...@apache.org>.
jamesfredley closed issue #15352: Identify simpler way to keep Java, Gradle and Groovy versions the same
URL: https://github.com/apache/grails-core/issues/15352


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Identify simpler way to keep Java, Gradle and Groovy versions the same [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on issue #15352:
URL: https://github.com/apache/grails-core/issues/15352#issuecomment-4296248661

   @jamesfredley can this be closed given that we have the bootstrap project? The most recent update seems rather small.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Identify simpler way to keep Java, Gradle and Groovy versions the same [grails-core]

Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on issue #15352:
URL: https://github.com/apache/grails-core/issues/15352#issuecomment-3830060689

   We already have a bootstrap project that can copy / stage wrapper scripts, running this script should sync / replace the existing scripts which will synchronize all of these values.  I believe we just change the value in .sdkamnrc & then run the bootstrap to update. The only areas not updated at that point are .github & the docker file.  
   
   I'd suggest as part of this ticket we load the wrapper version from .sdkmanrc using the gradle properties action.  
   
   For the docker file, we should extract the version into an argument & then check-in a bootstrap / wrapper script that passes the correct args to the docker file.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org