From fb918d0975c6d46eb6e72392661c754a820887bd Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Fri, 23 Sep 2022 16:06:26 +0200 Subject: [PATCH] Update MiMa and remove workaround (#83) --- build.sc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build.sc b/build.sc index 5ddc1b1..8962f8f 100644 --- a/build.sc +++ b/build.sc @@ -2,7 +2,7 @@ import mill._, scalalib._, scalajslib._, scalanativelib._, publish._ import mill.scalalib.api.Util.isScala3 import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.4` import de.tobiasroeser.mill.vcs.version.VcsVersion -import $ivy.`com.github.lolgab::mill-mima::0.0.11` +import $ivy.`com.github.lolgab::mill-mima::0.0.13` import com.github.lolgab.mill.mima._ val dottyCommunityBuildVersion = sys.props.get("dottyVersion").toList @@ -18,15 +18,10 @@ trait PPrintModule extends PublishModule with Mima { def publishVersion = VcsVersion.vcsState().format() - def mimaPreviousVersions = VcsVersion.vcsState().lastTag.toSeq + def mimaPreviousVersions = Seq("0.7.3", "0.8.0") ++ VcsVersion.vcsState().lastTag.toSeq def crossScalaVersion: String - // Temporary until the next version of Mima gets released with - // https://github.com/lightbend/mima/issues/693 included in the release. - def mimaPreviousArtifacts = - if(isScala3(crossScalaVersion)) Agg.empty[Dep] else super.mimaPreviousArtifacts() - def pomSettings = PomSettings( description = artifactName(), organization = "com.lihaoyi",