Skip to content

Commit

Permalink
Merge pull request #400 from mkurz/adjust_mima
Browse files Browse the repository at this point in the history
MiMa checks Scala 3 artifacts now
  • Loading branch information
mkurz authored Sep 27, 2023
2 parents c79da5b + a171c1b commit 921431b
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 921431b

Please sign in to comment.