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

Unable to build on system without Java21 installed #1

Open
rcd27 opened this issue Mar 4, 2024 · 1 comment · May be fixed by #2
Open

Unable to build on system without Java21 installed #1

rcd27 opened this issue Mar 4, 2024 · 1 comment · May be fixed by #2

Comments

@rcd27
Copy link

rcd27 commented Mar 4, 2024

How to reproduce: remove JVM_21 on your machine, run gradle sync.
I've fixed that by removing all jvmToolchains from gradle.plugins conventions. Seems like the build is working now.

@rcd27 rcd27 linked a pull request Mar 4, 2024 that will close this issue
@CharlieTap
Copy link
Owner

Hey thanks for submitting this, its something I forgot to configure now I'm making this public. The Gradle toolchains config is actually quite important for me as it allows me to remove one of the many variables (The build JDK) when debugging issues. Instead what I'll do is add id("org.gradle.toolchains.foojay-resolver-convention") to the settings.gradle.kts as a plugin, and this will download the required JDK on the fly as part of the build

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 a pull request may close this issue.

2 participants