diff --git a/build.sbt b/build.sbt index 81a4fad..d812d9c 100644 --- a/build.sbt +++ b/build.sbt @@ -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( ) )