Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-3734: Configure Gradle toolchain auto-provisioning #3735

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

suneetk92
Copy link
Contributor

@suneetk92 suneetk92 commented Feb 10, 2025

Fixes: #3734

This commit configures the Foojay resolver plugin in the Gradle build to auto-provision a required JDK distribution if it's not present already on the host.

This commit configures the Foojay resolver plugin in the Gradle build to auto-provision a required JDK distribution if it's not present
already on the host.

Signed-off-by: Suneet Kumar <[email protected]>
@@ -7,6 +7,7 @@ pluginManagement {

plugins {
id 'io.spring.develocity.conventions' version '0.0.22'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.9.0'
Copy link
Member

Choose a reason for hiding this comment

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

There is indeed something similar in Spring Framework: https://github.com/spring-projects/spring-framework/blob/main/settings.gradle#L4.
I'm not sure how well this works on every single platform, but we can give it a chance!

@sobychacko
Copy link
Contributor

@suneetk92 Thanks for the PR. We are trying to see how to proceed with this from a framework standpoint since we might want to be consistent across the portfolio. Once that is clear, we can review and merge.

@sobychacko sobychacko merged commit 66b79d4 into spring-projects:main Feb 10, 2025
3 checks passed
@sobychacko
Copy link
Contributor

Thanks @suneetk92. The PR is now merged upstream.

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.

Configure Gradle toolchain auto-provisioning in build
3 participants