Skip to content

Upgrade to Gradle 9.1.0 running on Java 21#6205

Merged
timtebeek merged 17 commits intomainfrom
java25
Oct 29, 2025
Merged

Upgrade to Gradle 9.1.0 running on Java 21#6205
timtebeek merged 17 commits intomainfrom
java25

Conversation

@jkschneider
Copy link
Member

What's changed?

Consolidating on Java 25 so that we have a consistent development experience across recipe modules.

with:
java_version: |
25
21
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll need to keep 21 available for the Java toolchains to utilize for rewrite-groovy and rewrite-kotlin as otherwise, those versions are incompatible with JDK 25 at present.

@timtebeek timtebeek changed the title Moving test runtime and CI to Java 25 Upgrade to Gradle 9.1.0 running on Java 21 Oct 28, 2025
testImplementation(project(":rewrite-groovy"))
testRuntimeOnly("org.antlr:antlr4-runtime:4.13.2")
testRuntimeOnly(project(":rewrite-java-21"))
testRuntimeOnly(project(":rewrite-java-25"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some downstream projects rely on this transitive dependency for their Java parser. I wonder what using 25 here will do for their tests when those concern using gradle, but I'll guess we'll see over the next hours and otherwise change this back.

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Oct 29, 2025
@timtebeek timtebeek merged commit 0500bba into main Oct 29, 2025
2 checks passed
@timtebeek timtebeek deleted the java25 branch October 29, 2025 07:15
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants