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

Add Scala 3 artifacts and binary versioning #350

Merged
merged 2 commits into from
Dec 17, 2020
Merged

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Dec 16, 2020

Part of sbt/sbt#6080

Implement the binary version logic for Scala 3:

scalaVersion scalaBinaryVersion
3.0.0-M2 3.0.0-M2
3.0.0-M3-bin-SNAPSHOT 3.0.0-M3
3.0.0-M3-bin-20201215-cbe50b3-NIGHTLY 3.0.0-M3
3.0.0-RC1 3.0.0-RC1
3.0.0 3

3 will most probably become the official binary version of the 3.x series where x < T (scala/scala3#10244 (comment)).
It is already implemented here so that sbt 1.5.0-M1 that will precede Scala 3.0.0 release does not conflict with it in terms of binary version.

Add the Scala 3 artifacts

  • scala3-compiler
  • scala3-library

@adpi2 adpi2 marked this pull request as ready for review December 16, 2020 15:18
@adpi2
Copy link
Member Author

adpi2 commented Dec 17, 2020

I've added the following tests (validated by @sjrd):

scalaVersion scalaBinaryVersion
3.1.0-M1 3
3.1.0-RC1-bin-SNAPSHOT 3
3.1.0-RC1 3
3.1.0 3

@adpi2
Copy link
Member Author

adpi2 commented Dec 17, 2020

sbt/sbt#6207 should be merged before or just after this one to fix the compilation of sbt with this librarymanagement version

@eed3si9n eed3si9n merged commit 0672da4 into sbt:develop Dec 17, 2020
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