Skip to content

Global configuration for JVM for bloop #1386

Open
@romanowski

Description

@romanowski

Is your feature request related to a problem? Please describe.

Scala CLI wants to stick to default, LTS JDK - for now it is Java 17. Some users wants to use newer versions like 18 or 19 and Scala CLI should have a easy way to configure that.

Describe the solution you'd like

A global setting that specify default JDK for bloop. It should accept same arguments as --jvm. Also it should not allow JDK lower then 17.

Additionally, we should update the error, warning and info messages about JDK that we report.

Additional context

Inspired by @milessabin comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BloopIssues tied with Bloop integration.UXconfigIssues tied to the config sub-command.spree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions