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"), ) )