This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch grails-gradle-plugin-groovy in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 17882dc803f07ba89d0782f8feb656bf2a18f537 Author: James Fredley <[email protected]> AuthorDate: Mon May 19 15:49:36 2025 -0400 Change grails-gradle-plugins, groovy Gradle dependency configuration scope back to compileOnly to avoid conflict with Groovy 4 in end application conflict on capability 'org.codehaus.groovy:groovy:3.0.24' also provided by org.apache.groovy:groovy:4.0.26 https://github.com/apache/grails-core/issues/14756 --- grails-gradle/plugins/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-gradle/plugins/build.gradle b/grails-gradle/plugins/build.gradle index 17b39a27d5..fed2478f53 100644 --- a/grails-gradle/plugins/build.gradle +++ b/grails-gradle/plugins/build.gradle @@ -35,7 +35,7 @@ dependencies { // TODO: tasks are isolated as of Gradle 7 so we must expose the version of the groovy. // We could upgrade to groovy 4 for the tasks, but gradle plugins are not isolated and still // need groovy 3. - implementation "org.codehaus.groovy:groovy" + compileOnly 'org.codehaus.groovy:groovy' implementation project(':grails-gradle-model'), { exclude group: 'org.apache.groovy'
