@@ -1478,7 +1478,7 @@ object Build {
1478
1478
moduleName := " scala3-sbt-bridge" ,
1479
1479
version := dottyVersion,
1480
1480
versionScheme := Some (" semver-spec" ),
1481
- scalaVersion := referenceVersion, // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
1481
+ scalaVersion := dottyNonBootstrappedVersion,
1482
1482
crossPaths := false , // org.scala-lang:scala3-sbt-bridge doesn't have a crosspath
1483
1483
autoScalaLibrary := false , // do not add a dependency to stdlib, we depend transitively on the stdlib from `scala3-compiler-nonbootstrapped`
1484
1484
// Add the source directories for the sbt-bridge (boostrapped)
@@ -1495,11 +1495,6 @@ object Build {
1495
1495
(" org.scala-sbt" %% " zinc-apiinfo" % " 1.8.0" % Test ).cross(CrossVersion .for3Use2_13),
1496
1496
" com.github.sbt" % " junit-interface" % " 0.13.3" % Test ,
1497
1497
),
1498
- // Exclude the transitive dependencies from `zinc-apiinfo` that causes issues at the moment
1499
- excludeDependencies ++= Seq (
1500
- " org.scala-lang" % " scala-reflect" ,
1501
- " org.scala-lang" % " scala-compiler" ,
1502
- ),
1503
1498
// Packaging configuration of `scala3-sbt-bridge`
1504
1499
Compile / packageBin / publishArtifact := true ,
1505
1500
Compile / packageDoc / publishArtifact := false ,
@@ -1511,6 +1506,7 @@ object Build {
1511
1506
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1512
1507
target := target.value / " scala3-sbt-bridge-bootstrapped" ,
1513
1508
// Configure to use the non-bootstrapped compiler
1509
+ managedScalaInstance := false ,
1514
1510
scalaInstance := {
1515
1511
val externalCompilerDeps = (`scala3-compiler-nonbootstrapped` / Compile / externalDependencyClasspath).value.map(_.data).toSet
1516
1512
0 commit comments