Auto-provision Gradle daemon JDK 25 via Foojay + wrapper refresh#2
Merged
Conversation
Generated by `./gradlew updateDaemonJvm --jvm-version=25`. Uses the foojay-resolver-convention plugin (already registered in settings.gradle.kts) to look up direct Foojay disco download URLs for every supported platform and writes them into gradle/gradle-daemon-jvm.properties. The daemon's provisioner consumes those static URLs at startup, so a contributor or CI runner with only a Gradle-minimum bootstrap JDK (17+) no longer needs to install JDK 25 separately — Gradle auto-provisions it on first launch. Also refreshes the wrapper jar and gradlew script via `./gradlew wrapper --gradle-version 9.4.1` (no version change; just picks up the latest wrapper artifacts for 9.4.1).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gradle/gradle-daemon-jvm.propertiesgenerated by./gradlew updateDaemonJvm --jvm-version=25, with per-platform Foojay disco download URLs for JDK 25.foojay-resolver-conventionplugin is already registered insettings.gradle.kts, so at daemon startup Gradle will auto-provision JDK 25 on first launch. A contributor or CI runner with only a Gradle-minimum bootstrap JDK (17+) no longer needs to install JDK 25 separately.gradlewscript via./gradlew wrapper --gradle-version 9.4.1(no version change; just picks up the latest 9.4.1 wrapper artifacts).xtclang2andexamples(and landing inplatformshortly).Regenerate with
./gradlew updateDaemonJvm --jvm-version=<N>when the JDK target changes, and commit the result.Test plan
./gradlew helpsucceeds with only JDK 17+ on PATH (daemon auto-provisions JDK 25 via Foojay)./gradlew buildsucceeds end-to-end./gradlewinvocation downloads and uses JDK 25 automatically