Skip to content

Commit

Permalink
Remove Mima from commonSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed May 20, 2020
1 parent f6e50f4 commit 2e3ed78
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import com.typesafe.sbt.SbtScalariform._
import com.typesafe.tools.mima.plugin.MimaPlugin._
import scalariform.formatter.preferences._

ThisBuild / dynverVTagPrefix := false

lazy val commonSettings = mimaDefaultSettings ++ Seq(
lazy val commonSettings = Seq(
scalaVersion := Dependencies.Scala213,
crossScalaVersions := Dependencies.ScalaVersions,
scalariformAutoformat := true,
Expand Down Expand Up @@ -47,7 +46,8 @@ lazy val `play-mailer` = (project in file("play-mailer"))
"com.typesafe.play" %% "play" % Dependencies.PlayVersion % Test,
"com.typesafe.play" %% "play-specs2" % Dependencies.PlayVersion % Test
),
mimaPreviousArtifacts := Set("com.typesafe.play" %% "play-mailer" % previousStableVersion.value.get)
mimaPreviousArtifacts := Set("com.typesafe.play" %% "play-mailer" % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version")))
)

lazy val `play-mailer-guice` = (project in file("play-mailer-guice"))
Expand All @@ -60,7 +60,8 @@ lazy val `play-mailer-guice` = (project in file("play-mailer-guice"))
"com.typesafe.play" %% "play" % Dependencies.PlayVersion % Test,
"com.typesafe.play" %% "play-specs2" % Dependencies.PlayVersion % Test
),
mimaPreviousArtifacts := Set("com.typesafe.play" %% "play-mailer-guice" % previousStableVersion.value.get)
mimaPreviousArtifacts := Set("com.typesafe.play" %% "play-mailer-guice" % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version")))
)

lazy val `play-mailer-root` = (project in file("."))
Expand Down

0 comments on commit 2e3ed78

Please sign in to comment.