Skip to content

Commit

Permalink
MiMa checks Scala 3 artifacts now
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Sep 27, 2023
1 parent d019ced commit 42b5fe6
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 42b5fe6

Please sign in to comment.