Skip to content

Conversation

@melissalinkert
Copy link
Member

Raised by @mabruce.

This is one approach to including Java 25 builds. Unfortunately, there is no Gradle version that can be run on both Java 8 and Java 25. See https://docs.gradle.org/current/userguide/compatibility.html. This PR as written keeps the existing Gradle wrapper, but separately downloads and installs 9.2.1 for the Java 25 build only. I feel like there must be some nicer way to do that, so other ideas welcome.

Compatibility with both Gradle 8.x.x and 9.x.x required a few adjustments to the build.gradle, but that doesn't seem to be a problem. It's probably worth double-checking build logs and artifacts though to make sure everything looks reasonable.

I'd imagine that whatever we settle on here can be applied to other repositories, so this is mostly a place to start the discussion and not necessarily something I expect to be merged as-is.

@melissalinkert melissalinkert added this to the 0.12.0 milestone Dec 10, 2025
@erindiel erindiel requested a review from mabruce January 7, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant