@@ -981,7 +981,7 @@ object Build {
981981 moduleName := " scala3-staging" ,
982982 version := dottyVersion,
983983 versionScheme := Some (" semver-spec" ),
984- scalaVersion := referenceVersion ,
984+ scalaVersion := dottyNonBootstrappedVersion ,
985985 crossPaths := true , // org.scala-lang:scala3-staging has a crosspath
986986 autoScalaLibrary := false , // do not add a dependency to stdlib, we depend transitively on the stdlib from `scala3-compiler-bootstrapped`
987987 // Add the source directories for the sbt-bridge (boostrapped)
@@ -1035,7 +1035,7 @@ object Build {
10351035 moduleName := " scala3-tasty-inspector" ,
10361036 version := dottyVersion,
10371037 versionScheme := Some (" semver-spec" ),
1038- scalaVersion := referenceVersion ,
1038+ scalaVersion := dottyNonBootstrappedVersion ,
10391039 crossPaths := true , // org.scala-lang:scala3-tasty-inspector has a crosspath
10401040 autoScalaLibrary := false , // do not add a dependency to stdlib, we depend transitively on the stdlib from `scala3-compiler-bootstrapped`
10411041 // Add the source directories for the sbt-bridge (boostrapped)
@@ -1086,7 +1086,7 @@ object Build {
10861086 moduleName := " scala3-repl" ,
10871087 version := dottyVersion,
10881088 versionScheme := Some (" semver-spec" ),
1089- scalaVersion := referenceVersion ,
1089+ scalaVersion := dottyNonBootstrappedVersion ,
10901090 crossPaths := true ,
10911091 autoScalaLibrary := false ,
10921092 // Add the source directories for the sbt-bridge (boostrapped)
@@ -1283,7 +1283,7 @@ object Build {
12831283 versionScheme := Some (" always" ),
12841284 // sbt defaults to scala 2.12.x and metals will report issues as it doesn't consider the project a scala 3 project
12851285 // (not the actual version we use to compile the project)
1286- scalaVersion := referenceVersion ,
1286+ scalaVersion := dottyNonBootstrappedVersion ,
12871287 crossPaths := false , // org.scala-lang:scala-library doesn't have a crosspath
12881288 autoScalaLibrary := false , // DO NOT DEPEND ON THE STDLIB, IT IS THE STDLIB
12891289 // Add the source directories for the stdlib (non-boostrapped)
@@ -1355,7 +1355,7 @@ object Build {
13551355 versionScheme := Some (" semver-spec" ),
13561356 // sbt defaults to scala 2.12.x and metals will report issues as it doesn't consider the project a scala 3 project
13571357 // (not the actual version we use to compile the project)
1358- scalaVersion := referenceVersion ,
1358+ scalaVersion := dottyNonBootstrappedVersion ,
13591359 crossPaths := true , // org.scala-lang:scala3-library has a crosspath
13601360 // Do not depend on the `org.scala-lang:scala3-library` automatically, we manually depend on `scala-library-bootstrapped`
13611361 autoScalaLibrary := false ,
@@ -1415,7 +1415,7 @@ object Build {
14151415 crossVersion := CrossVersion .disabled,
14161416 // sbt defaults to scala 2.12.x and metals will report issues as it doesn't consider the project a scala 3 project
14171417 // (not the actual version we use to compile the project)
1418- scalaVersion := referenceVersion ,
1418+ scalaVersion := dottyNonBootstrappedVersion ,
14191419 // Add the source directories for the stdlib (non-boostrapped)
14201420 Compile / unmanagedSourceDirectories := Seq (baseDirectory.value / " src" ),
14211421 Compile / unmanagedSourceDirectories ++=
@@ -1528,7 +1528,7 @@ object Build {
15281528 versionScheme := Some (" semver-spec" ),
15291529 // sbt defaults to scala 2.12.x and metals will report issues as it doesn't consider the project a scala 3 project
15301530 // (not the actual version we use to compile the project)
1531- scalaVersion := referenceVersion ,
1531+ scalaVersion := dottyNonBootstrappedVersion ,
15321532 crossPaths := true , // org.scala-lang:scala3-library_sjs1 has a crosspath
15331533 // Do not depend on the `org.scala-lang:scala3-library` automatically, we manually depend on `scala-library-bootstrapped`
15341534 autoScalaLibrary := false ,
@@ -1630,7 +1630,7 @@ object Build {
16301630 moduleName := " tasty-core" ,
16311631 version := dottyVersion,
16321632 versionScheme := Some (" semver-spec" ),
1633- scalaVersion := referenceVersion, // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
1633+ scalaVersion := dottyNonBootstrappedVersion,
16341634 crossPaths := true , // org.scala-lang:tasty-core has a crosspath
16351635 // sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
16361636 autoScalaLibrary := false ,
@@ -1700,7 +1700,7 @@ object Build {
17001700 moduleName := " scala3-compiler" ,
17011701 version := dottyNonBootstrappedVersion,
17021702 versionScheme := Some (" semver-spec" ),
1703- scalaVersion := dottyNonBootstrappedVersion , // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
1703+ scalaVersion := referenceVersion , // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
17041704 crossPaths := true , // org.scala-lang:scala3-compiler has a crosspath
17051705 // sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
17061706 autoScalaLibrary := false ,
@@ -1843,7 +1843,7 @@ object Build {
18431843 moduleName := " scala3-compiler" ,
18441844 version := dottyVersion,
18451845 versionScheme := Some (" semver-spec" ),
1846- scalaVersion := referenceVersion, // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
1846+ scalaVersion := dottyNonBootstrappedVersion,
18471847 crossPaths := true , // org.scala-lang:scala3-compiler has a crosspath
18481848 // sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
18491849 autoScalaLibrary := false ,
@@ -1994,7 +1994,7 @@ object Build {
19941994 moduleName := " scaladoc" ,
19951995 version := dottyVersion,
19961996 versionScheme := Some (" semver-spec" ),
1997- scalaVersion := referenceVersion, // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
1997+ scalaVersion := dottyNonBootstrappedVersion,
19981998 crossPaths := true , // org.scala-lang:scaladoc has a crosspath
19991999 // sbt shouldn't add stdlib automatically, we depend on `scala3-library-nonbootstrapped`
20002000 autoScalaLibrary := false ,
0 commit comments