@@ -517,7 +517,6 @@ object Build {
517517 " -Ddotty.tests.classes.dottyInterfaces=" + jars(" dotty-interfaces" ),
518518 " -Ddotty.tests.classes.dottyLibrary=" + jars(" dotty-library" ),
519519 " -Ddotty.tests.classes.dottyCompiler=" + jars(" dotty-compiler" ),
520- " -Ddotty.tests.classes.dottyStaging=" + jars(" dotty-staging" ),
521520 " -Ddotty.tests.classes.compilerInterface=" + findArtifactPath(externalDeps, " compiler-interface" ),
522521 " -Ddotty.tests.classes.scalaLibrary=" + findArtifactPath(externalDeps, " scala-library" ),
523522 " -Ddotty.tests.classes.scalaAsm=" + findArtifactPath(externalDeps, " scala-asm" ),
@@ -682,7 +681,6 @@ object Build {
682681 // library on the compiler classpath since the non-bootstrapped one
683682 // may not be binary-compatible.
684683 " dotty-library" -> packageBin.in(`dotty-library-bootstrapped`, Compile ).value,
685- " dotty-staging" -> packageBin.in(LocalProject (" dotty-staging" ), Compile ).value,
686684 ).mapValues(_.getAbsolutePath)
687685 }
688686 }.value,
@@ -697,6 +695,10 @@ object Build {
697695 )
698696
699697 lazy val bootstrapedDottyCompilerSettings = commonDottyCompilerSettings ++ Seq (
698+ javaOptions += {
699+ val jars = packageAll.in(LocalProject (" dotty-compiler-bootstrapped" )).value
700+ " -Ddotty.tests.classes.dottyStaging=" + jars(" dotty-staging" )
701+ },
700702 packageAll := {
701703 packageAll.in(`dotty-compiler`).value ++ Seq (
702704 " dotty-compiler" -> packageBin.in(Compile ).value.getAbsolutePath,
0 commit comments