Skip to content

Follow-up on Zinc upgrade #10816

Closed
Closed
@adpi2

Description

@adpi2

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 API
  • scala3-sbt-bridge depends on "org.scala-sbt" % "compiler-interface" % "1.4.3" and contains 2 implementations: the old xsbt.CompilerInterface that is used by sbt 1.3.x and Mill, and the new dotty.tools.xsbt.CompilerBridge that is used by sbt 1.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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions