Skip to content

Commit

Permalink
Merge pull request #152 from mdsol/NOJIRA-reinstate_mima_checks
Browse files Browse the repository at this point in the history
NOJIRA reinstate mima checks
  • Loading branch information
fserra-mdsol authored May 17, 2023
2 parents 45a09e1 + 2c2d83a commit 5ecf555
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ lazy val `mauth-signer-scala-core` = scalaModuleProject("mauth-signer-scala-core
libraryDependencies ++=
Dependencies.compile(akkaHttp, akkaStream).map(withExclusions) ++
Dependencies.compile(scalaLogging, scalaLibCompat).map(withExclusions) ++
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions)
)

lazy val `mauth-signer-akka-http` = scalaModuleProject("mauth-signer-akka-http")
Expand All @@ -95,8 +94,7 @@ lazy val `mauth-signer-akka-http` = scalaModuleProject("mauth-signer-akka-http")
Dependencies.provided(akkaHttp, akkaStream).map(withExclusions) ++
Dependencies.compile(scalaLogging, scalaLibCompat).map(withExclusions) ++
Dependencies.example(akkaHttp, akkaStream).map(withExclusions) ++
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions)
)

lazy val `mauth-signer-sttp` = scalaModuleProject("mauth-signer-sttp")
Expand All @@ -105,8 +103,7 @@ lazy val `mauth-signer-sttp` = scalaModuleProject("mauth-signer-sttp")
publishSettings,
libraryDependencies ++=
Dependencies.compile(scalaLibCompat, sttp, scalaLogging).map(withExclusions) ++
Dependencies.test(scalaMock, scalaTest, wiremock, sttpAkkaHttpBackend).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(scalaMock, scalaTest, wiremock, sttpAkkaHttpBackend).map(withExclusions)
)

lazy val `mauth-signer-http4s` = scalaModuleProject("mauth-signer-http4s")
Expand All @@ -119,8 +116,7 @@ lazy val `mauth-signer-http4s` = scalaModuleProject("mauth-signer-http4s")
Dependencies.provided(http4sClient) ++
Dependencies.compile(enumeratum) ++
Dependencies.compile(log4cats) ++
Dependencies.test(munitCatsEffect, http4sDsl),
mimaPreviousArtifacts := Set.empty
Dependencies.test(munitCatsEffect, http4sDsl)
)

// A separate module to sign and send sttp request using akka-http backend
Expand All @@ -132,8 +128,7 @@ lazy val `mauth-sender-sttp-akka-http` = scalaModuleProject("mauth-sender-sttp-a
publishSettings,
libraryDependencies ++=
Dependencies.compile(catsEffect, akkaHttp, akkaStream, scalaLibCompat, sttp, scalaLogging).map(withExclusions) ++
Dependencies.test(scalaMock, scalaTest, wiremock, sttpAkkaHttpBackend).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(scalaMock, scalaTest, wiremock, sttpAkkaHttpBackend).map(withExclusions)
)

lazy val `mauth-authenticator` = javaModuleProject("mauth-authenticator")
Expand All @@ -148,8 +143,7 @@ lazy val `mauth-authenticator-scala` = scalaModuleProject("mauth-authenticator-s
publishSettings,
libraryDependencies ++=
Dependencies.test(logbackClassic, scalaMock, scalaTest, scalaLibCompat).map(withExclusions) ++
Dependencies.compile(catsEffect).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.compile(catsEffect).map(withExclusions)
)

lazy val `mauth-authenticator-apachehttp` = javaModuleProject("mauth-authenticator-apachehttp")
Expand All @@ -158,8 +152,7 @@ lazy val `mauth-authenticator-apachehttp` = javaModuleProject("mauth-authenticat
publishSettings,
libraryDependencies ++=
Dependencies.compile(jacksonDataBind, guava, slf4jApi).map(withExclusions) ++
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(scalaMock, scalaTest, wiremock).map(withExclusions)
)

lazy val `mauth-authenticator-akka-http` = scalaModuleProject("mauth-authenticator-akka-http")
Expand All @@ -170,8 +163,7 @@ lazy val `mauth-authenticator-akka-http` = scalaModuleProject("mauth-authenticat
Dependencies.provided(akkaHttp, akkaStream) ++
Dependencies.compile(jacksonDataBind, scalaCacheCaffeine).map(withExclusions) ++
Dependencies.test(scalaTest, scalaMock, wiremock) ++
Dependencies.test(akkaHttpTestKit *).map(withExclusions),
mimaPreviousArtifacts := Set.empty
Dependencies.test(akkaHttpTestKit *).map(withExclusions)
)

lazy val `mauth-authenticator-http4s` = (project in file("modules/mauth-authenticator-http4s")) // don't need to cross-compile
Expand Down

0 comments on commit 5ecf555

Please sign in to comment.