Visitar URL original
Ask for JDK 25 in .sdkmanrc, matching the build plugin's toolchain by timtebeek · Pull Request #1403 · openrewrite/rewrite-migrate-java · GitHub
Skip to content

Ask for JDK 25 in .sdkmanrc, matching the build plugin's toolchain - #1403

Merged
timtebeek merged 1 commit into
mainfrom
tim/sdkmanrc-java-25
Nov 3, 2026
Merged

timtebeek merged 1 commit into
mainfrom
tim/sdkmanrc-java-25

Conversation

@timtebeek

@timtebeek timtebeek commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Since rewrite-build-gradle-plugin 2.33.2 the default toolchain is Java 25 (openrewrite/rewrite-build-gradle-plugin#260). This build sets no toolchain of its own, so it now compiles and tests on 25. The plugin doesn't download toolchains, so JDK 25 has to be installed locally, but sdk env still installed an older JDK the build no longer uses. This moves .sdkmanrc to 25.0.5.0+8-tem, the latest Temurin 25 on SDKMAN.

I checked that 25.0.5.0+8-tem is in SDKMAN's version list and that build.gradle.kts sets no toolchain. I didn't run the build locally.

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Nov 3, 2026
@timtebeek
timtebeek merged commit b2eb7da into main Nov 3, 2026
1 check passed
@timtebeek
timtebeek deleted the tim/sdkmanrc-java-25 branch November 3, 2026 00:21
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Nov 3, 2026
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.

1 participant