File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -583,9 +583,22 @@ trait MillStableScalaModule extends MillPublishScalaModule with Mima {
583583 Agg.from(
584584 Settings.mimaBaseVersions
585585 .filter(v => !skipPreviousVersions().contains(v))
586- .map(version =>
587- ivy"${pomSettings().organization}:${artifactId()}:${version}"
588- )
586+ .map({ version =>
587+ val patchedSuffix = {
588+ val base = artifactSuffix()
589+ version match {
590+ case s"0.$minor.$_" if minor.toIntOption.exists(_ < 12) =>
591+ base match {
592+ case "_3" => "_2.13"
593+ case s"_3_$suffix" => s"_2.13_$suffix"
594+ case _ => base
595+ }
596+ case _ => base
597+ }
598+ }
599+ val patchedId = artifactName() + patchedSuffix
600+ ivy"${pomSettings().organization}:${patchedId}:${version}"
601+ })
589602 )
590603 }
591604
You can’t perform that action at this time.
0 commit comments