Skip to content

Commit b9fc4a3

Browse files
committed
Test Scala 2 still works with sbt-dotty
1 parent 7e120a0 commit b9fc4a3

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ThisBuild / scalaVersion := "2.12.8"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % sys.props("plugin.version"))
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package hello
2+
/** Hello, world! */
3+
object Hello {
4+
def main(args: Array[String]): Unit = {
5+
println("Hello Scala 2")
6+
}
7+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> run
2+
> doc

0 commit comments

Comments
 (0)