Skip to content

Commit df632b7

Browse files
committed
enable preview for running
1 parent 559ed91 commit df632b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name := "decaf-in-scala"
22

33
version := "0.1"
44

5-
scalaVersion := "2.13.0"
5+
scalaVersion := "2.13.1"
66

77
// https://mvnrepository.com/artifact/org.scala-lang/scala-reflect
88
libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.13.1"
@@ -33,3 +33,5 @@ assemblyOutputPath in assembly := file("target/decaf.jar")
3333

3434
javacOptions in Compile += "--enable-preview"
3535
javacOptions in Compile ++= Seq("-source", "12")
36+
javaOptions += "--enable-preview"
37+
fork in run := true

0 commit comments

Comments
 (0)