Skip to content

Commit

Permalink
Merge pull request #401 from playframework/mergify/bp/7.0.x/pr-400
Browse files Browse the repository at this point in the history
[7.0.x] MiMa checks Scala 3 artifacts now (backport #400) by @mkurz
  • Loading branch information
mkurz authored Sep 27, 2023
2 parents aa660c5 + 7ab9c49 commit 08bdb06
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 08bdb06

Please sign in to comment.