From 7676d849cf79401149bc052cb324c8b4b4a4696d Mon Sep 17 00:00:00 2001 From: Pierre Ricadat Date: Wed, 8 May 2024 09:11:51 +0900 Subject: [PATCH 1/3] Upgrace grpc lib --- build.sbt | 4 ++-- project/plugins.sbt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 92341d6..ae8a83c 100644 --- a/build.sbt +++ b/build.sbt @@ -2,8 +2,8 @@ val scala213 = "2.13.13" val scala3 = "3.3.3" val allScala = Seq(scala213, scala3) -val zioVersion = "2.0.21" -val zioGrpcVersion = "0.6.0" +val zioVersion = "2.0.22" +val zioGrpcVersion = "0.6.2" val zioK8sVersion = "2.1.1" val zioCacheVersion = "0.2.3" val zioCatsInteropVersion = "23.1.0.0" diff --git a/project/plugins.sbt b/project/plugins.sbt index 5ce60c0..3a412f6 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,5 +5,5 @@ addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") resolvers ++= Resolver.sonatypeOssRepos("snapshots") -libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.10" -libraryDependencies += "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % "0.6.0" +libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.15" +libraryDependencies += "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % "0.6.2" From 90efa5624e621933198358b9c32bdbed79408469 Mon Sep 17 00:00:00 2001 From: Pierre Ricadat Date: Wed, 8 May 2024 09:22:46 +0900 Subject: [PATCH 2/3] Remove dependency --- build.sbt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index ae8a83c..624922a 100644 --- a/build.sbt +++ b/build.sbt @@ -167,8 +167,7 @@ lazy val grpcProtocol = project "com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf", "com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion, "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-core" % zioGrpcVersion, - "io.grpc" % "grpc-netty" % scalapb.compiler.Version.grpcJavaVersion, - "io.grpc" % "grpc-services" % scalapb.compiler.Version.grpcJavaVersion + "io.grpc" % "grpc-netty" % scalapb.compiler.Version.grpcJavaVersion ) ) From fb32f530fdda03eb5840a44039c0e881032024f3 Mon Sep 17 00:00:00 2001 From: Pierre Ricadat Date: Wed, 8 May 2024 09:28:39 +0900 Subject: [PATCH 3/3] Fix grpc netty version --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 624922a..dc597b2 100644 --- a/build.sbt +++ b/build.sbt @@ -4,6 +4,7 @@ val allScala = Seq(scala213, scala3) val zioVersion = "2.0.22" val zioGrpcVersion = "0.6.2" +val grpcNettyVersion = "1.63.0" val zioK8sVersion = "2.1.1" val zioCacheVersion = "0.2.3" val zioCatsInteropVersion = "23.1.0.0" @@ -167,7 +168,7 @@ lazy val grpcProtocol = project "com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf", "com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion, "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-core" % zioGrpcVersion, - "io.grpc" % "grpc-netty" % scalapb.compiler.Version.grpcJavaVersion + "io.grpc" % "grpc-netty" % grpcNettyVersion ) )