Skip to content

Commit f5f2593

Browse files
committed
Upgrade to bootstrapped dotty
Dotty is now published with scalaBinaryVersion 0.1, see scala/scala3#2312
1 parent ef95cdb commit f5f2593

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

build.sbt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ lazy val root = (project in file(".")).
99

1010
// Dotty version
1111
scalaVersion := "0.1.1-bin-SNAPSHOT",
12+
scalaBinaryVersion := "0.1",
1213
scalaOrganization := "ch.epfl.lamp",
1314

1415
// Needed because of https://github.com/sbt/sbt/issues/3012
15-
resolvers += Resolver.typesafeIvyRepo("releases"),
16+
resolvers += Resolver.typesafeIvyRepo("releases")
1617

1718
// Enable Scala 2 compatibility mode.
1819
// This allows you to use Scala 2 features that have been removed
@@ -22,12 +23,5 @@ lazy val root = (project in file(".")).
2223
// development at https://github.com/scalacenter/scalafix
2324
// Note that this affects typechecking and thus may prevent some valid
2425
// Dotty code from compiling, so it is not enabled by default.
25-
// scalacOptions ++= Seq("-language:Scala2"),
26-
27-
// Note: Dotty can use Scala 2.11 libraries so we set `scalaBinaryVersion`
28-
// to `2.11` for convenience. However, if you publish an artefact compiled
29-
// with Dotty, you should set it to `0.1`, this will force you to change
30-
// your library dependencies to be of the form `"org.foo" % "bar_2.11" % "1.0"`
31-
// instead of `"org.foo" %% "bar" % "1.0"`
32-
scalaBinaryVersion := "2.11"
26+
// scalacOptions ++= Seq("-language:Scala2")
3327
)

0 commit comments

Comments
 (0)