Skip to content

Commit

Permalink
Adjust MiMa settings after 1.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Sep 14, 2023
1 parent 2304bf7 commit d8f85f4
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,11 @@ def parserCombinators(scalaVersion: String) = "org.scala-lang.modules" %% "scala
}

val mimaSettings = Seq(
mimaPreviousArtifacts := {
CrossVersion.partialVersion(scalaVersion.value) match {
// No release for Scala 3 yet
case Some((3, _)) => Set.empty
case _ => previousVersion.map(organization.value %% name.value % _).toSet
}
},
mimaPreviousArtifacts := Set(
organization.value %% name.value % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version"))
),
mimaBinaryIssueFilters ++= Seq(
ProblemFilters.exclude[Problem]("play.twirl.parser.*"),
ProblemFilters.exclude[MissingClassProblem]("play.twirl.compiler.*"),
ProblemFilters.exclude[IncompatibleMethTypeProblem]("play.twirl.compiler.*"),
ProblemFilters.exclude[MissingClassProblem]("play.twirl.api.TemplateMagic*"),
ProblemFilters.exclude[DirectMissingMethodProblem]("play.twirl.compiler.TwirlCompiler.DefaultImports"),
)
)

Expand Down

0 comments on commit d8f85f4

Please sign in to comment.