Skip to content

Commit

Permalink
MiMa checks Scala 3 artifacts now
Browse files Browse the repository at this point in the history
(cherry picked from commit a171c1b)
  • Loading branch information
mkurz authored and mergify[bot] committed Sep 27, 2023
1 parent aa660c5 commit 7ab9c49
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)
)

Expand Down

0 comments on commit 7ab9c49

Please sign in to comment.