Skip to content

Commit

Permalink
Merge pull request #454 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 d019ced + 42b5fe6 commit 3db306b
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 3db306b

Please sign in to comment.