File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1107,6 +1107,10 @@ object Build {
11071107
11081108 // Settings shared between scala3-library, scala3-library-bootstrapped and scala3-library-bootstrappedJS
11091109 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,
11101114 (Compile / scalacOptions) ++= Seq (
11111115 // Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
11121116 " -sourcepath" , (Compile / sourceDirectories).value.map(_.getAbsolutePath).distinct.mkString(File .pathSeparator),
@@ -2428,6 +2432,7 @@ object Build {
24282432 def asDottyLibrary (implicit mode : Mode ): Project = {
24292433 val base =
24302434 project.withCommonSettings.
2435+ enablePlugins(BuildStdLib ).
24312436 settings(versionScheme := Some (" semver-spec" )).
24322437 settings(dottyLibrarySettings)
24332438 if (mode == Bootstrapped ) {
You can’t perform that action at this time.
0 commit comments