Skip to content

Commit 63083f1

Browse files
authored
Merge pull request #1988 from dotty-staging/fix/bootstrap-no-library
Bootstrapped dotty should not depend on non-bootstrapped dotty-library
2 parents 6df672c + 8790290 commit 63083f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

project/Build.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,12 @@ object DottyBuild extends Build {
105105
(dottyOrganization % "dotty-sbt-bridge" % scalaVersion.value % "component").sources(),
106106

107107
// sbt gets very unhappy if two projects use the same target
108-
target := baseDirectory.value / ".." / "out" / name.value
108+
target := baseDirectory.value / ".." / "out" / name.value,
109+
110+
// The non-bootstrapped dotty-library is not necessary when bootstrapping dotty
111+
autoScalaLibrary := false,
112+
// ...but scala-library is
113+
libraryDependencies += "org.scala-lang" % "scala-library" % scalacVersion
109114
)
110115

111116
/** Projects -------------------------------------------------------------- */

0 commit comments

Comments
 (0)