Skip to content

Commit

Permalink
build: add missing grpc provider
Browse files Browse the repository at this point in the history
  • Loading branch information
patlo-iog committed May 6, 2024
1 parent 8d968f8 commit 354913b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ lazy val V = new {

val typesafeConfig = "1.4.3"
val protobuf = "3.1.9"
val grpcOkHttp = "1.63.0"

val testContainersScala = "0.41.3"
val testContainersJavaKeycloak = "3.2.0" // scala-steward:off

Expand Down Expand Up @@ -137,6 +139,7 @@ lazy val D = new {
val scalaPbRuntime: ModuleID =
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
val scalaPbGrpc: ModuleID = "com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion
val grpcOkHttp: ModuleID = "io.grpc" % "grpc-okhttp" % V.grpcOkHttp

val testcontainersPostgres: ModuleID =
"com.dimafeng" %% "testcontainers-scala-postgresql" % V.testContainersScala % Test
Expand Down Expand Up @@ -689,7 +692,7 @@ val prismNodeClient = project
.in(file("prism-node/client/scala-client"))
.settings(
name := "prism-node-client",
libraryDependencies ++= Seq(D.scalaPbGrpc, D.scalaPbRuntime),
libraryDependencies ++= Seq(D.scalaPbGrpc, D.scalaPbRuntime, D.grpcOkHttp),
coverageEnabled := false,
// gRPC settings
Compile / PB.targets := Seq(scalapb.gen() -> (Compile / sourceManaged).value / "scalapb"),
Expand Down

0 comments on commit 354913b

Please sign in to comment.