Skip to content

Commit

Permalink
Merge pull request #287 from mkurz/adjust_mima
Browse files Browse the repository at this point in the history
MiMa should check Scala 3 artifacts now
  • Loading branch information
mkurz authored Sep 27, 2023
2 parents 86806cc + 18295a5 commit 75bcbec
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,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 := {
if (scalaBinaryVersion.value == "3") Set.empty[ModuleID]
else
Set("com.typesafe.play" %% "play-mailer" % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version")))
},
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 @@ -65,12 +61,9 @@ 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 := {
if (scalaBinaryVersion.value == "3") Set.empty[ModuleID]
else
Set("com.typesafe.play" %% "play-mailer-guice" % previousStableVersion.value
.getOrElse(throw new Error("Unable to determine previous version")))
},
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 75bcbec

Please sign in to comment.