Skip to content

Commit

Permalink
compile grails-gradle-plugin with the Groovy version provided by Gradle
Browse files Browse the repository at this point in the history
to ensure build compatibility with Gradle, currently Groovy 3.0.x
see: https://docs.gradle.org/current/userguide/compatibility.html#groovy
  • Loading branch information
jamesfredley committed Sep 17, 2024
1 parent cce76c0 commit f801917
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f801917

Please sign in to comment.