@@ -150,7 +150,7 @@ object Build {
150
150
scalacOptions ++= Seq (" -bootclasspath" , sys.props(" sun.boot.class.path" )),
151
151
152
152
// sbt gets very unhappy if two projects use the same target
153
- target := baseDirectory.value / " .." / " out" / name.value,
153
+ target := baseDirectory.value / " .." / " out" / " bootstrap " / name.value,
154
154
155
155
// The non-bootstrapped dotty-library is not necessary when bootstrapping dotty
156
156
autoScalaLibrary := false ,
@@ -241,7 +241,7 @@ object Build {
241
241
lazy val `dotty-bootstrapped` = project.
242
242
aggregate(`dotty-interfaces`, `dotty-library-bootstrapped`, `dotty-compiler-bootstrapped`, `dotty-doc-bootstrapped`,
243
243
dottySbtBridgeBootstrappedRef,
244
- `scala -library`, `scala -compiler`, `scala -reflect`, scalap).
244
+ `scala2 -library`, `scala2 -compiler`, `scala2 -reflect`, scalap).
245
245
dependsOn(`dotty-compiler-bootstrapped`).
246
246
dependsOn(`dotty-library-bootstrapped`).
247
247
settings(commonBootstrappedSettings)
@@ -714,8 +714,8 @@ object Build {
714
714
val x1 = (publishLocal in `dotty-interfaces`).value
715
715
val x2 = (publishLocal in `dotty-compiler-bootstrapped`).value
716
716
val x3 = (publishLocal in `dotty-library-bootstrapped`).value
717
- val x4 = (publishLocal in `scala -library`).value
718
- val x5 = (publishLocal in `scala -reflect`).value
717
+ val x4 = (publishLocal in `scala2 -library`).value
718
+ val x5 = (publishLocal in `scala2 -reflect`).value
719
719
val x6 = (publishLocal in `dotty-bootstrapped`).value // Needed because sbt currently hardcodes the dotty artifact
720
720
}).evaluated
721
721
// TODO: Use this instead of manually copying DottyInjectedPlugin.scala
@@ -825,13 +825,13 @@ object DottyInjectedPlugin extends AutoPlugin {
825
825
826
826
// Depend on dotty-library so that sbt projects using dotty automatically
827
827
// depend on the dotty-library
828
- lazy val `scala -library` = project.
828
+ lazy val `scala2 -library` = project.
829
829
dependsOn(`dotty-library-bootstrapped`).
830
830
settings(commonDummySettings)
831
831
832
- lazy val `scala -compiler` = project.
832
+ lazy val `scala2 -compiler` = project.
833
833
settings(commonDummySettings)
834
- lazy val `scala -reflect` = project.
834
+ lazy val `scala2 -reflect` = project.
835
835
settings(commonDummySettings).
836
836
settings(
837
837
libraryDependencies := Seq (" org.scala-lang" % " scala-reflect" % scalacVersion)
0 commit comments