Repository navigation
Add foojay toolchain resolver for automatic JDK provisioning - #302
Closed
happycollision wants to merge 1 commit into
Closed
happycollision wants to merge 1 commit into
happycollision wants to merge 1 commit into
Conversation
This adds the Gradle toolchain resolver plugin which enables automatic download of required JDK versions during the build. ## Why This Is Needed The project has mixed JDK requirements: - git-jaspr and github-dsl-model use Java 21 (via toolchain configuration) - data-class-fragment uses Java 21 (updated from Java 11) When building on a machine that only has one JDK version installed, Gradle would previously fail with toolchain resolution errors. The foojay resolver plugin allows Gradle to automatically download the required JDK versions from the Adoptium/Eclipse Temurin distribution. ## What This Enables Developers can now build the project with any JDK 21+ installed, and Gradle will automatically provision any other required JDK versions into ~/.gradle/jdks/. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> commit-id: 493cb75f
Owner
|
This problem was solved a different way, but thank you! |
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.
Maybe this is helpful for
Who knows.
Add foojay toolchain resolver for automatic JDK provisioning
This adds the Gradle toolchain resolver plugin which enables automatic
download of required JDK versions during the build.
Why This Is Needed
The project has mixed JDK requirements:
When building on a machine that only has one JDK version installed,
Gradle would previously fail with toolchain resolution errors. The
foojay resolver plugin allows Gradle to automatically download the
required JDK versions from the Adoptium/Eclipse Temurin distribution.
What This Enables
Developers can now build the project with any JDK 21+ installed, and
Gradle will automatically provision any other required JDK versions
into ~/.gradle/jdks/.
🤖 Generated with Claude Code
Stack: