Skip to content

Commit

Permalink
Merge pull request playframework#710 from mkurz/update_readme16x
Browse files Browse the repository at this point in the history
[1.6.x] Set `mimaPreviousArtifacts` to last "major" release
  • Loading branch information
mkurz authored Nov 2, 2023
2 parents be9b4f3 + 8820aeb commit 05dbd73
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 @@ -19,11 +19,10 @@ def parserCombinators(scalaVersion: String) = "org.scala-lang.modules" %% "scala
}
}

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

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 05dbd73

Please sign in to comment.