From f801917058b4ef680524c5ff406f092151ab6861 Mon Sep 17 00:00:00 2001 From: James Fredley Date: Tue, 17 Sep 2024 13:12:47 -0400 Subject: [PATCH] compile grails-gradle-plugin with the Groovy version provided by Gradle to ensure build compatibility with Gradle, currently Groovy 3.0.x see: https://docs.gradle.org/current/userguide/compatibility.html#groovy --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 79045ab0..35298f26 100644 --- a/build.gradle +++ b/build.gradle @@ -78,6 +78,11 @@ java { configurations.configureEach { exclude group: 'org.apache.groovy' } dependencies { + // compile grails-gradle-plugin with the Groovy version provided by Gradle + // to ensure build compatibility with Gradle, currently Groovy 3.0.x + // see: https://docs.gradle.org/current/userguide/compatibility.html#groovy + compileOnly "org.codehaus.groovy:groovy:$GroovySystem.version" + implementation "io.github.gradle-nexus:publish-plugin:2.0.0" implementation "com.bmuschko:gradle-nexus-plugin:2.3.1" implementation "org.grails:grails-bootstrap:$grailsVersion"