Skip to content

Commit

Permalink
build: fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Losoponkul committed Jul 14, 2023
1 parent 39be7a9 commit 720ec48
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ lazy val V = new {

val doobie = "1.0.0-RC2"
val quill = "4.6.0"
val iris = "0.1.0" // TODO: remove
val flyway = "9.8.3"
val logback = "1.4.5"

Expand Down Expand Up @@ -215,8 +214,6 @@ lazy val D_Pollux = new {
organization = "org.bouncycastle"
)

val irisClient = "io.iohk.atala" %% "iris-client" % V.iris // TODO REMOVE?

// Dependency Modules
val baseDependencies: Seq[ModuleID] = Seq(
D.zio,
Expand Down Expand Up @@ -246,7 +243,7 @@ lazy val D_Pollux = new {
)

// Project Dependencies
val coreDependencies: Seq[ModuleID] = baseDependencies ++ Seq(irisClient)
val coreDependencies: Seq[ModuleID] = baseDependencies
val sqlDoobieDependencies: Seq[ModuleID] = baseDependencies ++ doobieDependencies
}

Expand Down Expand Up @@ -594,6 +591,20 @@ val prismNodeClient = project
)
)

// ##############
// ### iris ####
// ##############
val irisClient = project
.in(file("iris/client/scala-client"))
.settings(
name := "iris-client",
libraryDependencies ++= Seq(D.scalaPbGrpc, D.scalaPbRuntime),
coverageEnabled := false,
// gRPC settings
Compile / PB.targets := Seq(scalapb.gen() -> (Compile / sourceManaged).value / "scalapb"),
Compile / PB.protoSources := Seq(baseDirectory.value / ".." / ".." / "api" / "grpc")
)

// #####################
// ##### castor ######
// #####################
Expand Down Expand Up @@ -645,6 +656,7 @@ lazy val polluxCore = project
libraryDependencies ++= D_Pollux.coreDependencies
)
.dependsOn(shared)
.dependsOn(irisClient)
.dependsOn(polluxVcJWT)
.dependsOn(protocolIssueCredential, protocolPresentProof, resolver, agentDidcommx, eventNotification)

Expand Down

0 comments on commit 720ec48

Please sign in to comment.