From bb9044ec8ece8a4cec91e72fbf140919412a92f8 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 27 Sep 2023 15:42:36 +0200 Subject: [PATCH] MiMa checks Scala 3 artifacts now (cherry picked from commit 42b5fe6fc399517e211441f3c9a3624489a65063) --- build.sbt | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/build.sbt b/build.sbt index 40921298..e70073e3 100644 --- a/build.sbt +++ b/build.sbt @@ -40,23 +40,12 @@ Global / onLoad := (Global / onLoad).value.andThen { s => s } -val previousVersion: Option[String] = Some("5.1.0") +val previousVersion: Option[String] = Some("6.0.0-RC2") lazy val mimaSettings = Seq( mimaBinaryIssueFilters ++= Seq( - // Dropping deprecated phantom-js support. - ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory"), - ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory$"), - ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo"), - ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo$") ), - mimaPreviousArtifacts := { - if (scalaBinaryVersion.value == "3") { - Set.empty - } else { - previousVersion.map(organization.value %% name.value % _).toSet - } - } + mimaPreviousArtifacts := previousVersion.map(organization.value %% name.value % _).toSet ) lazy val commonSettings = Seq(