@@ -9,7 +9,7 @@ with `sbt run`, `sbt console` will start a Dotty REPL.
9
9
10
10
If compiling this example project fails, you probably have a global sbt plugin
11
11
that does not work with dotty, try to disable all plugins in
12
- ` ~/.sbt/0.13 /plugins ` and ` ~/.sbt/0.13 ` .
12
+ ` ~/.sbt/1.0 /plugins ` and ` ~/.sbt/1.0 ` .
13
13
14
14
### IDE support
15
15
@@ -27,29 +27,29 @@ You will need to make the following adjustments to your build:
27
27
28
28
### project/plugins.sbt
29
29
``` scala
30
- addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.1.7 " )
30
+ addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.2.2 " )
31
31
```
32
32
33
33
### project/build.properties
34
34
``` scala
35
- sbt.version= 0.13.15
35
+ sbt.version= 1.1.4
36
36
```
37
37
38
- Older versions of sbt are not supported, sbt 1.0 is not yet supported either .
38
+ Older versions of sbt are not supported.
39
39
40
40
41
41
### build.sbt
42
42
Any version number that starts with ` 0. ` is automatically recognized as Dotty by
43
43
the ` sbt-dotty ` plugin, you don't need to set up anything:
44
44
45
45
``` scala
46
- scalaVersion := " 0.7 .0-RC1"
46
+ scalaVersion := " 0.8 .0-RC1"
47
47
```
48
48
49
49
#### Nightly builds
50
50
If the latest release of Dotty is missing a bugfix or feature you need, you may
51
51
wish to use a nightly build. Look at the bottom of
52
- https://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.7 / to find the version
52
+ https://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.8 / to find the version
53
53
number for the latest nightly build. Alternatively, you can set `scalaVersion :=
54
54
dottyLatestNightlyBuild.get` to always use the latest nightly build of dotty.
55
55
@@ -79,7 +79,7 @@ you may be able to get them to work on Dotty by replacing:
79
79
by:
80
80
81
81
``` scala
82
- libraryDependencies += (" a" %% " b" % " c" ).withDottyCompat()
82
+ libraryDependencies += (" a" %% " b" % " c" ).withDottyCompat(scalaVersion.value )
83
83
```
84
84
85
85
This will have no effect when compiling with Scala 2.x, but when compiling
0 commit comments