File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1107,6 +1107,10 @@ object Build {
1107
1107
1108
1108
// Settings shared between scala3-library, scala3-library-bootstrapped and scala3-library-bootstrappedJS
1109
1109
lazy val dottyLibrarySettings = Seq (
1110
+ library := " org.scala-lang" % " scala-library" % " 2.13.16" ,
1111
+ libraryDependencies += library.value, // TODO: We should not require a dependency to the scala2's stdlib
1112
+ jarExtractTarget := new File ((Compile / target).value + " /scala-3.6.3-RC2/classes" ),
1113
+ // (Compile / compile) := (Compile / compile).dependsOn(copyJarContent).value,
1110
1114
(Compile / scalacOptions) ++= Seq (
1111
1115
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1112
1116
" -sourcepath" , (Compile / sourceDirectories).value.map(_.getAbsolutePath).distinct.mkString(File .pathSeparator),
@@ -2420,6 +2424,7 @@ object Build {
2420
2424
def asDottyLibrary (implicit mode : Mode ): Project = {
2421
2425
val base =
2422
2426
project.withCommonSettings.
2427
+ enablePlugins(BuildStdLib ).
2423
2428
settings(versionScheme := Some (" semver-spec" )).
2424
2429
settings(dottyLibrarySettings)
2425
2430
if (mode == Bootstrapped ) {
You can’t perform that action at this time.
0 commit comments