Skip to content

Commit

Permalink
Merge pull request #419 from mkurz/enable_mima_checks
Browse files Browse the repository at this point in the history
[7.0.x] Set mimaPreviousArtifacts.value to last "major" release
  • Loading branch information
mkurz authored Nov 1, 2023
2 parents d0ec078 + 15dd650 commit 6083565
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ Global / onLoad := (Global / onLoad).value.andThen { s =>
s
}

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

lazy 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 6083565

Please sign in to comment.