File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,13 @@ https://github.com/smarter/dotty-bridge#implementation-status for what works and
24
24
what doesn't.
25
25
26
26
If compiling this example project fails, you probably have a global sbt plugin
27
- that does not work with dotty, try to disable all plugins in ` ~/.sbt/0.13/plugins ` .
27
+ that does not work with dotty, try to disable all plugins in
28
+ ` ~/.sbt/0.13/plugins ` .
29
+
30
+ ### Using Dotty in your own project
31
+
32
+ 1 . [ Use sbt 0.13.11 or newer] ( https://github.com/smarter/dotty-example-project/blob/master/project/build.properties ) .
33
+ 2 . Configure your build like explained in [ build.sbt] ( https://github.com/smarter/dotty-example-project/blob/master/build.sbt#L9-L10 )
28
34
29
35
### Discuss
30
36
Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ lazy val root = (project in file(".")).
3
3
name := " dotty-example-project" ,
4
4
description := " Example sbt project that compiles using Dotty" ,
5
5
version := " 0.1" ,
6
-
7
6
mainClass in (Compile , run) := Some (" Hello" ),
8
7
8
+
9
+ // All the settings set below this line are important to get your project
10
+ // to compile with Dotty. Please read the comments carefully.
11
+
9
12
// Dotty version
10
13
scalaVersion := " 0.1-SNAPSHOT" ,
11
14
You can’t perform that action at this time.
0 commit comments