From 11ee9df88c789c36c6488ad1409c46cd43fcc7d5 Mon Sep 17 00:00:00 2001 From: Fabio Pinheiro Date: Mon, 2 Sep 2024 10:45:31 +0100 Subject: [PATCH] fix: replace problematic dependency license from Apollo (#1312) Signed-off-by: FabioPinheiro --- build.sbt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index fd35bd175d..2a9dbd2e04 100644 --- a/build.sbt +++ b/build.sbt @@ -166,7 +166,10 @@ lazy val D = new { val monocleMacro: ModuleID = "dev.optics" %% "monocle-macro" % V.monocle % Test val scalaTest = "org.scalatest" %% "scalatest" % "3.2.16" % Test - val apollo = "io.iohk.atala.prism.apollo" % "apollo-jvm" % V.apollo + val apollo = Seq( // TODO remove exclude after fix https://github.com/hyperledger/identus-apollo/issues/192 + "io.iohk.atala.prism.apollo" % "apollo-jvm" % V.apollo exclude ("net.jcip", "jcip-annotations"), // Exclude because of license + "com.github.stephenc.jcip" % "jcip-annotations" % "1.0-1" % Runtime, // Replace for net.jcip % jcip-annotations" + ) // LIST of Dependencies val doobieDependencies: Seq[ModuleID] = @@ -211,12 +214,11 @@ lazy val D_SharedCrypto = new { lazy val dependencies: Seq[ModuleID] = Seq( D.zioJson, - D.apollo, D.nimbusJwt, D.zioTest, D.zioTestSbt, D.zioTestMagnolia, - ) + ) ++ D.apollo } lazy val D_SharedTest = new {