@@ -9,10 +9,11 @@ lazy val root = (project in file(".")).
9
9
10
10
// Dotty version
11
11
scalaVersion := " 0.1.1-bin-SNAPSHOT" ,
12
+ scalaBinaryVersion := " 0.1" ,
12
13
scalaOrganization := " ch.epfl.lamp" ,
13
14
14
15
// Needed because of https://github.com/sbt/sbt/issues/3012
15
- resolvers += Resolver .typesafeIvyRepo(" releases" ),
16
+ resolvers += Resolver .typesafeIvyRepo(" releases" )
16
17
17
18
// Enable Scala 2 compatibility mode.
18
19
// This allows you to use Scala 2 features that have been removed
@@ -22,12 +23,5 @@ lazy val root = (project in file(".")).
22
23
// development at https://github.com/scalacenter/scalafix
23
24
// Note that this affects typechecking and thus may prevent some valid
24
25
// 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")
33
27
)
0 commit comments