From def8d5d99b51330627d7b0b4f84b887de5b03034 Mon Sep 17 00:00:00 2001 From: Alex Knight Date: Tue, 21 May 2024 14:58:07 +0100 Subject: [PATCH] Update examples dependencies & scala-version (#630) * Update examples dependencies & scala-version 1. Scala Version `2.13.10` -> `2.13.14` 2. `grpc-netty` from `1.50.1` -> `1.64.0` 3. `zio-grpc-codegen` from `0.6.1` -> `0.6.2` 4. `sbt-protoc` from `1.0.6` -> `1.0.7` 5. (`scalapb`) `compilerplugin` from `0.11.10` -> `0.11.15` * Update routeguide plugins.sbt (I forgot 'sbt-protoc' & 'zio-grpc-codegen') --- examples/fullapp/build.sbt | 4 ++-- examples/fullapp/project/plugins.sbt | 8 ++++---- examples/helloworld/build.sbt | 4 ++-- examples/helloworld/project/plugins.sbt | 6 +++--- examples/routeguide/build.sbt | 4 ++-- examples/routeguide/project/plugins.sbt | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/fullapp/build.sbt b/examples/fullapp/build.sbt index af12cf361..99b551c8d 100644 --- a/examples/fullapp/build.sbt +++ b/examples/fullapp/build.sbt @@ -1,12 +1,12 @@ ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("snapshots") -ThisBuild / scalaVersion := "2.13.10" +ThisBuild / scalaVersion := "2.13.14" ThisBuild / cancelable := true ThisBuild / connectInput := true -val grpcVersion = "1.50.1" +val grpcVersion = "1.64.0" lazy val protos = crossProject(JSPlatform, JVMPlatform) .in(file("protos")) diff --git a/examples/fullapp/project/plugins.sbt b/examples/fullapp/project/plugins.sbt index aca59b2e5..2995f2c14 100644 --- a/examples/fullapp/project/plugins.sbt +++ b/examples/fullapp/project/plugins.sbt @@ -2,17 +2,17 @@ resolvers ++= Resolver.sonatypeOssRepos("snapshots") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") -addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") +addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") -val zioGrpcVersion = "0.6.1" +val zioGrpcVersion = "0.6.2" libraryDependencies ++= Seq( "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % zioGrpcVersion, - "com.thesamet.scalapb" %% "compilerplugin" % "0.11.7" + "com.thesamet.scalapb" %% "compilerplugin" % "0.11.15" ) // For Scala.js: -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.0") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") diff --git a/examples/helloworld/build.sbt b/examples/helloworld/build.sbt index 37dac1276..b029b193e 100644 --- a/examples/helloworld/build.sbt +++ b/examples/helloworld/build.sbt @@ -1,8 +1,8 @@ -scalaVersion := "2.13.10" +scalaVersion := "2.13.14" resolvers ++= Resolver.sonatypeOssRepos("snapshots") -val grpcVersion = "1.50.1" +val grpcVersion = "1.64.0" Compile / PB.targets := Seq( scalapb.gen(grpc = true) -> (Compile / sourceManaged).value, diff --git a/examples/helloworld/project/plugins.sbt b/examples/helloworld/project/plugins.sbt index c49988742..d6e7ee163 100644 --- a/examples/helloworld/project/plugins.sbt +++ b/examples/helloworld/project/plugins.sbt @@ -2,11 +2,11 @@ resolvers ++= Resolver.sonatypeOssRepos("snapshots") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") -addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") +addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") -val zioGrpcVersion = "0.6.1" +val zioGrpcVersion = "0.6.2" libraryDependencies ++= Seq( "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % zioGrpcVersion, - "com.thesamet.scalapb" %% "compilerplugin" % "0.11.10" + "com.thesamet.scalapb" %% "compilerplugin" % "0.11.15" ) diff --git a/examples/routeguide/build.sbt b/examples/routeguide/build.sbt index 2447eaeac..9048a3e4f 100644 --- a/examples/routeguide/build.sbt +++ b/examples/routeguide/build.sbt @@ -1,8 +1,8 @@ -scalaVersion := "2.13.10" +scalaVersion := "2.13.14" resolvers ++= Resolver.sonatypeOssRepos("snapshots") -val grpcVersion = "1.50.1" +val grpcVersion = "1.64.0" Compile / PB.targets := Seq( scalapb.gen(grpc = true) -> (Compile / sourceManaged).value, diff --git a/examples/routeguide/project/plugins.sbt b/examples/routeguide/project/plugins.sbt index c49988742..d6e7ee163 100644 --- a/examples/routeguide/project/plugins.sbt +++ b/examples/routeguide/project/plugins.sbt @@ -2,11 +2,11 @@ resolvers ++= Resolver.sonatypeOssRepos("snapshots") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") -addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") +addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.7") -val zioGrpcVersion = "0.6.1" +val zioGrpcVersion = "0.6.2" libraryDependencies ++= Seq( "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % zioGrpcVersion, - "com.thesamet.scalapb" %% "compilerplugin" % "0.11.10" + "com.thesamet.scalapb" %% "compilerplugin" % "0.11.15" )