diff --git a/build.sbt b/build.sbt index 15b028bb..c0b94116 100644 --- a/build.sbt +++ b/build.sbt @@ -16,11 +16,10 @@ def parserCombinators(scalaVersion: String) = "org.scala-lang.modules" %% "scala } } +val previousVersion: Option[String] = Some("2.0.1") + 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( ) )