Skip to content
Merged
2 changes: 1 addition & 1 deletion rewrite-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
implementation(project(":rewrite-properties"))
implementation(project(":rewrite-toml"))

compileOnly("org.codehaus.groovy:groovy:latest.release")
compileOnly("org.apache.groovy:groovy:4.+")
compileOnly(gradleApi())
// No particular reason to hold back upgrading this beyond 3.x, but it takes some effort: https://github.com/openrewrite/rewrite/issues/5270
compileOnly("com.gradle:develocity-gradle-plugin:3.+")
Expand Down
4 changes: 2 additions & 2 deletions rewrite-groovy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ java {
dependencies {
api(project(":rewrite-java"))

implementation("org.codehaus.groovy:groovy:latest.release")
implementation("org.apache.groovy:groovy:4.+")

compileOnly(project(":rewrite-test"))
compileOnly("org.slf4j:slf4j-api:1.7.+")
Expand All @@ -59,7 +59,7 @@ dependencies {
testImplementation(project(":rewrite-java-test"))
testImplementation("org.junit-pioneer:junit-pioneer:latest.release")
testRuntimeOnly("org.antlr:antlr4-runtime:4.13.2")
testRuntimeOnly("org.codehaus.groovy:groovy-all:latest.release")
testRuntimeOnly("org.apache.groovy:groovy-all:4.+")
testRuntimeOnly(project(":rewrite-java-21"))
}

Expand Down
Loading