From 7ab9c490858a5855a7e51df276fa613756f40bd1 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Wed, 27 Sep 2023 15:19:50 +0200 Subject: [PATCH] MiMa checks Scala 3 artifacts now (cherry picked from commit a171c1b8313daf919bc2e76b205e8412ad4fc332) --- build.sbt | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/build.sbt b/build.sbt index a630c19..81a4fad 100644 --- a/build.sbt +++ b/build.sbt @@ -19,19 +19,13 @@ Global / onLoad := (Global / onLoad).value.andThen { s => } lazy val mimaSettings = Seq( - mimaPreviousArtifacts := { - if (scalaBinaryVersion.value == "3") Set.empty[ModuleID] - else - Set( - organization.value %% name.value % "6.0.0" // previousStableVersion.value - // .getOrElse(throw new Error("Unable to determine previous version")) + mimaPreviousArtifacts := + Set( + organization.value %% name.value % previousStableVersion.value.getOrElse( + throw new Error("Unable to determine previous version") ) - }, + ), mimaBinaryIssueFilters ++= Seq( - // https://github.com/playframework/play-ebean/pull/281 - Removed io.ebean.EbeanServer in Ebean 13.6.0 - ProblemFilters.exclude[IncompatibleMethTypeProblem]("play.db.ebean.EbeanDynamicEvolutions.generateEvolutionScript"), - // https://github.com/playframework/play-ebean/pull/387 - Respect `play.evolutions[.db.default].path` config for dynamic evolutions - ProblemFilters.exclude[DirectMissingMethodProblem]("play.db.ebean.EbeanDynamicEvolutions.this"), ) )