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

Update Gradle script to download JDK images using the Elastic JVM catalog #15513

Closed
andsel opened this issue Oct 30, 2023 · 0 comments · Fixed by #15514
Closed

Update Gradle script to download JDK images using the Elastic JVM catalog #15513

andsel opened this issue Oct 30, 2023 · 0 comments · Fixed by #15514
Assignees

Comments

@andsel
Copy link
Contributor

andsel commented Oct 30, 2023

Downloading the JDK composing directly the full url to Adopt API like

https://api.adoptium.net/v3/binary/version/jdk-17.0.9+9/windows/x64/jdk/hotspot/normal/adoptium)

using exact version and build number could generate some issues when the artifact (for whatever reason) wasn't created and instead a new build (for example 9.1 vs 9) was later pushed only for a specific OS/CPU.

To avoid this problem using the Elastic JVM catalog, which return the latest JDK available for a version/vendor/OS/CPU avoid such kind of problems related to the build number.

Update the Gradle script to use the Elastic JVM catalog instead of direct link to Adopt API.

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.

1 participant