Skip to content

Commit

Permalink
Merge pull request playframework#709 from mkurz/adjust_mima
Browse files Browse the repository at this point in the history
Set `mimaPreviousArtifacts` to last "major" release
  • Loading branch information
mkurz authored Nov 2, 2023
2 parents 026b8ed + 9ae6014 commit 6ee9211
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ def parserCombinators(scalaVersion: String) = "org.scala-lang.modules" %% "scala
}
}

val previousVersion: Option[String] = Some("2.0.1")

val mimaSettings = Seq(
mimaPreviousArtifacts := Set(
organization.value %% name.value % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version"))
),
mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet,
mimaBinaryIssueFilters ++= Seq(
)
)
Expand Down

0 comments on commit 6ee9211

Please sign in to comment.