Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.7.1 requires semanticdb-scalac 4.7.8, which doesn't exist for Scala 2.13.14+ #506

Open
gaelrenoux opened this issue Sep 29, 2024 · 1 comment

Comments

@gaelrenoux
Copy link

gaelrenoux commented Sep 29, 2024

Version 0.7.1 of the scala3-migrate-plugin requires version 4.7.8 of semanticdb-scalac, which doesn't exist for Scala 2.13.14+. Error message: (update) sbt.librarymanagement.ResolveException: Error downloading org.scalameta:semanticdb-scalac_2.13.15:4.7.8

Strangely enough, version 0.7.0 of sbt-scala3-migrate required version 4.9.9 of semanticdb-scalac, which is significantly more recent and works fine.

My test case
build.sbt

organization := "gael.renoux"
name := "gaston"
version := "1.0.0"
scalaVersion := "2.13.15"
scalacOptions ++= Seq("-Xsource:3")

project/plugins.sbt

addSbtPlugin("ch.epfl.scala" % "sbt-scala3-migrate" % "0.7.1")

project/build.properties

sbt.version=1.10.2
@adpi2
Copy link
Member

adpi2 commented Sep 30, 2024

Thanks for the report. I'll do a release soon to fix this.

In the meantime, I think you can work around this with semanticdbVersion := "4.9.9"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants