Skip to content

Commit d35f182

Browse files
authored
Merge pull request #10898 from adpi2/sbt-dotty
fix #8992 consoleProject in sbt-dotty
2 parents e635705 + 4b61f72 commit d35f182

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ object DottyPlugin extends AutoPlugin {
255255
}
256256
}.value,
257257

258+
// Prevent the consoleProject task from using the Scala 3 compiler bridge
259+
// The consoleProject must load the Scala 2.12 instance and the sbt classpath
260+
consoleProject / scalaCompilerBridgeBinaryJar := None,
261+
258262
// Needed for RCs publishing
259263
scalaBinaryVersion := {
260264
scalaVersion.value.split("[\\.-]").toList match {

0 commit comments

Comments
 (0)