Closed
Description
The purpose of this issue is to track the progress on the upgrade of Zinc that follows #10607.
The current situation is:
scala3-compiler
depends on"org.scala-sbt" % "compiler-interface" % "1.3.5"
and use the deprecated APIscala3-sbt-bridge
depends on"org.scala-sbt" % "compiler-interface" % "1.4.3"
and contains 2 implementations: the oldxsbt.CompilerInterface
that is used by sbt1.3.x
and Mill, and the newdotty.tools.xsbt.CompilerBridge
that is used by sbt1.4.x
.
The plan is to bump the version of Zinc in scala3-compiler
and use the new API but first we need Mill and Bloop to upgrade to Zinc 1.4.3
.
- Bump the version of Zinc in Mill to
1.4.3
and use the new API - Bump the version of Mill in the community build
- Bump the version of Zinc in Bloop
- Bump the version of Zinc in
scala3-compiler
and use the new API (waiting on use new zinc 1.8 api for VirtualFile #18137) - Remove the old
xsbt.CompilerInterface
At the end, the scala3-compiler
won't be compatible any more with sbt 1.3.x
, Mill 0.9.x
and Bloop 1.4.x