-
Notifications
You must be signed in to change notification settings - Fork 71
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
Dotty resolution issue #613
Comments
similar report at scalacenter/sbt-version-policy#62 |
I think that comes from applying val moduleId = CrossVersion(m, scalaModuleInfo.value) match {
case Some(f) => m.withName(f(m.name))
case None => m
}
moduleId -> SbtMima.getPreviousArtifact(moduleId, depRes, taskStreams) Seeing as that works for Scala 2 projects, it seems to me that something in the data is wrong in Scala 3 projects? Could you provide a minimisation of the problem please? |
Would cloning https://github.com/avast/datadog4s and running let me know if this would work for you |
I have just pushed a minimization of the problem here: 1deb3fc The
Nothing suspicious, right? |
I’ve just found that by setting |
I’ve noticed that the following change also fixes the issue with Scala 3: val moduleId = CrossVersion(m, scalaModuleInfo.value) match {
- case Some(f) => m.withName(f(m.name))
+ case Some(f) => m.withName(f(m.name)).withCrossVersion(CrossVersion.disabled)
case None => m
} I’ve submitted #624 with this change, however it’s not clear to me which component is doing something wrong here. The fact that setting |
May I request a release containing the fix? 😇 |
thanks! |
😄 Of course, but I want to wait until next week to see if there's anything broken in 0.9.0 that I need to fix. (I've been hesitating because I'm uncertain about my unpickling efforts...) |
Hello,
should sbt-mima work with scala3 builds? For me it fails resolving the artifacts, it tries to download the following:
https://repo1.maven.org/maven2/com/avast/cloud/datadog4s-common_3.0.0-RC1_3.0/0.12.0/datadog4s-common_3.0.0-RC1_3.0-0.12.0.pom
please notice the
_3.0
after theRC1
Thanks
The text was updated successfully, but these errors were encountered: