Skip to content

Commit 9940cf9

Browse files
committed
Explicitly specifying the mainClass is no longer required
Incremental compilation supports enabled main class discovery
1 parent 8830c11 commit 9940cf9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ that does not work with dotty, try to disable all plugins in
3030
### Using Dotty in your own project
3131

3232
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)
33+
2. Configure your build like explained in [build.sbt](https://github.com/smarter/dotty-example-project/blob/master/build.sbt#L7-L8)
3434

3535
### Discuss
3636

build.sbt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ lazy val root = (project in file(".")).
33
name := "dotty-example-project",
44
description := "Example sbt project that compiles using Dotty",
55
version := "0.1",
6-
mainClass in (Compile, run) := Some("Hello"),
7-
86

97
// All the settings set below this line are important to get your project
108
// to compile with Dotty. Please read the comments carefully.

0 commit comments

Comments
 (0)