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

Switch to Scala 3 by default #913

Merged
merged 1 commit into from
Apr 22, 2022
Merged

Conversation

romanowski
Copy link
Member

No description provided.

@romanowski romanowski force-pushed the scala3 branch 4 times, most recently from ac0f9ef to e500235 Compare April 20, 2022 12:13
Copy link
Contributor

@lwronski lwronski left a comment

Choose a reason for hiding this comment

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

I think we should also update logic in method scalaCliScalaVersion which resolves the scala version used to build scala-cli.

IMO we can just add new else if condition, like this:

if (cliVersion == "nightly") Properties.versionNumberString
    else if (Version(cliVersion) <= Version("0.1.2")) Constants.defaultScala212Version
    else if (Version(cliVersion) <= Version("0.1.4")) Constants.defaultScala213Version
    else Properties.versionNumberString

build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
build.sc Outdated Show resolved Hide resolved
@romanowski romanowski force-pushed the scala3 branch 2 times, most recently from bd15029 to 6a7ad56 Compare April 22, 2022 08:18
@romanowski romanowski merged commit ce76bc3 into VirtusLab:main Apr 22, 2022
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.

3 participants