diff --git a/build.sbt b/build.sbt index 0d6b3c9..1ed202b 100644 --- a/build.sbt +++ b/build.sbt @@ -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( ) )