From e2b06cdb0995fe26b11d662333a40429fa73e4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Sowi=C5=84ski?= Date: Mon, 29 Apr 2024 10:42:37 +0200 Subject: [PATCH] Update Apache Pekko to 1.0.2 (#72) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also add a rule for Scala Steward to ignore scalapb – updating it automatically would be a bit complex, so better leave it to humans. --- .scala-steward.conf | 3 +++ build.sbt | 7 +++++-- project/plugins.sbt | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .scala-steward.conf diff --git a/.scala-steward.conf b/.scala-steward.conf new file mode 100644 index 00000000..69373fa5 --- /dev/null +++ b/.scala-steward.conf @@ -0,0 +1,3 @@ +updates.ignore = [ + { groupId = "com.thesamet.scalapb" } +] diff --git a/build.sbt b/build.sbt index 67c8cfcf..9dd93894 100644 --- a/build.sbt +++ b/build.sbt @@ -17,9 +17,12 @@ ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" sonatypeProfileName := "eu.ostrzyciel" sonatypeRepository := "https://s01.oss.sonatype.org/service/local" -lazy val pekkoV = "1.0.1" +lazy val pekkoV = "1.0.2" lazy val jenaV = "4.10.0" lazy val rdf4jV = "4.3.0" +// Must be synchronized to the version used by Pekko gRPC +// See: https://mvnrepository.com/artifact/org.apache.pekko/pekko-grpc-runtime_3 +// When updating also change the version in plugins.sbt lazy val scalapbV = "0.11.13" lazy val commonSettings = Seq( @@ -89,7 +92,7 @@ lazy val grpc = (project in file("grpc")) "org.apache.pekko" %% "pekko-discovery" % pekkoV, "org.apache.pekko" %% "pekko-stream-typed" % pekkoV, "org.apache.pekko" %% "pekko-actor-testkit-typed" % pekkoV % Test, - "org.apache.pekko" %% "pekko-grpc-runtime" % "1.0.0", + "org.apache.pekko" %% "pekko-grpc-runtime" % pekkoV, ), // Add the shared proto sources Compile / PB.protoSources ++= Seq( diff --git a/project/plugins.sbt b/project/plugins.sbt index 0259491d..69fa036c 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,4 +3,6 @@ addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "1.0.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") addDependencyTreePlugin -libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.12" +lazy val scalapbV = "0.11.13" + +libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % scalapbV