File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1889,6 +1889,15 @@ object Build {
18891889 s " -Ddotty.tools.dotc.semanticdb.test= ${(ThisBuild / baseDirectory).value/ " tests" / " semanticdb" }" ,
18901890 )
18911891 },
1892+ run / fork := true ,
1893+ excludeDependencies += " org.scala-lang" %% " scala3-library" ,
1894+ excludeDependencies += " org.scala-lang" % " scala-library" ,
1895+ Compile / run := {
1896+ // val classpath = s"-classpath ${(`scala-library-bootstrapped` / Compile / packageBin).value}"
1897+ // TODO: We should use the val above instead of `-usejavacp` below. SBT crashes we we have a val and we call toTask
1898+ // with it as a parameter. THIS IS NOT A LEGIT USE CASE OF THE `-usejavacp` FLAG.
1899+ (Compile / run).toTask(" -usejavacp" ).value
1900+ },
18921901 )
18931902
18941903 // ==============================================================================================
You can’t perform that action at this time.
0 commit comments