Skip to content

Commit

Permalink
Merge pull request #455 from playframework/mergify/bp/6.0.x/pr-454
Browse files Browse the repository at this point in the history
[6.0.x] MiMa checks Scala 3 artifacts now (backport #454) by @mkurz
  • Loading branch information
mkurz authored Sep 27, 2023
2 parents 462211d + bb9044e commit fe664e4
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,12 @@ Global / onLoad := (Global / onLoad).value.andThen { s =>
s
}

val previousVersion: Option[String] = Some("5.1.0")
val previousVersion: Option[String] = Some("6.0.0-RC2")

lazy val mimaSettings = Seq(
mimaBinaryIssueFilters ++= Seq(
// Dropping deprecated phantom-js support.
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory$"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo$")
),
mimaPreviousArtifacts := {
if (scalaBinaryVersion.value == "3") {
Set.empty
} else {
previousVersion.map(organization.value %% name.value % _).toSet
}
}
mimaPreviousArtifacts := previousVersion.map(organization.value %% name.value % _).toSet
)

lazy val commonSettings = Seq(
Expand Down

0 comments on commit fe664e4

Please sign in to comment.