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

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new c2319773d5 Add wrapper generation task to grails-gradle to match 
grails-core
c2319773d5 is described below

commit c2319773d533bba41684757a702578fb4e7ba67c
Author: James Daugherty <[email protected]>
AuthorDate: Tue May 27 11:27:42 2025 -0400

    Add wrapper generation task to grails-gradle to match grails-core
---
 grails-gradle/build.gradle | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/grails-gradle/build.gradle b/grails-gradle/build.gradle
index 4706351138..c2d157f7dc 100644
--- a/grails-gradle/build.gradle
+++ b/grails-gradle/build.gradle
@@ -119,3 +119,11 @@ tasks.register("aggregateChecksums") {
     }
 }
 
+def sdkmanProps = new Properties()
+project.rootProject.layout.projectDirectory.file('.sdkmanrc').asFile.withInputStream
 {
+    sdkmanProps.load(it)
+}
+tasks.withType(Wrapper).configureEach {
+    gradleVersion = sdkmanProps.gradle
+}
+

Reply via email to