Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0.x] MiMa should check Scala 3 artifacts now (backport #287) by @mkurz #288

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading