Skip to content

Commit 78b6d55

Browse files
committed
Fix scripted scala3 test
1 parent b48a058 commit 78b6d55

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build.sbt

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ lazy val root = (project in file("."))
2727
case _ => "2.0.0-M3"
2828
}
2929
}
30+
scriptedSbt := {
31+
scalaBinaryVersion.value match {
32+
case "2.12" => "1.10.7"
33+
case _ => "2.0.0-M3"
34+
}
35+
}
3036
})
3137

3238
Global / onChangedBuildSource := ReloadOnSourceChanges

src/sbt-test/proguard/scala3/test.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import java.nio.file.{Files, FileSystems}
2-
import scala.jdk.CollectionConverters.*
2+
import collection.JavaConverters._
33
import scala.sys.process.Process
44

55
// for sbt scripted test:

0 commit comments

Comments
 (0)