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

Fix metals when using Older JVMs #192

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

zarthross
Copy link
Contributor

Metals and bloop now only support java 17 and up... so we need to make sure if the jdk of the devshell is set to lower than 17, we still use 17 for metals and scala-cli

  • Allow overriding the scala-cli jdk version.
  • Allow overriding the metals jdk version.
  • If the jdk.package version is older than 17, set the default metals and scala-cli to jdk17 instead of jdk.package

Set metals and scala-cli to a minimum version of jdk-17 unless overridden.
@zarthross
Copy link
Contributor Author

Supersedes #86

@zarthross
Copy link
Contributor Author

Fixes #84

@zarthross zarthross merged commit 4842769 into typelevel:main Dec 6, 2024
2 checks passed
@zarthross zarthross deleted the metals branch December 6, 2024 20:37
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.

2 participants