Skip to content

Commit

Permalink
Merge pull request #420 from mkurz/enable_mima_checks_main
Browse files Browse the repository at this point in the history
Set mimaPreviousArtifacts.value to last "major" release
  • Loading branch information
mkurz committed Nov 1, 2023
2 parents d0eb634 + 9f79993 commit 86d0525
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("8.0.0-M1")

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 86d0525

Please sign in to comment.