This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/1.3.x by this push:
new 022c872d3 Update google-cloud-pubsub to 1.148.0 (#1420) (#1460)
022c872d3 is described below
commit 022c872d364caa82c3be353f7611e103ef756fd0
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Feb 26 13:20:23 2026 +0100
Update google-cloud-pubsub to 1.148.0 (#1420) (#1460)
* Update google-cloud-pubsub to 1.148.0
* workaround protobuf generated code compile issues
* Update build.sbt
---------
Co-authored-by: Scala Steward
<[email protected]>
---
build.sbt | 11 +++++++++--
project/Dependencies.scala | 2 +-
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/build.sbt b/build.sbt
index 38b2317c2..9a2dbb439 100644
--- a/build.sbt
+++ b/build.sbt
@@ -258,8 +258,15 @@ lazy val googleCloudPubSubGrpc = pekkoConnectorProject(
Compile / scalacOptions ++= Seq(
"-Wconf:src=.+/pekko-grpc/main/.+:s",
"-Wconf:src=.+/pekko-grpc/test/.+:s"),
- compile / javacOptions := (compile / javacOptions).value.filterNot(_ ==
"-Xlint:deprecation")).enablePlugins(
- PekkoGrpcPlugin).dependsOn(googleCommon)
+ // the following is needed to exclude the gRPC generated sources for
protobuf-java from the sources,
+ // they cause Scaladoc tool fails -
https://github.com/apache/pekko-connectors/issues/1440
+ // and issues like https://github.com/apache/pekko-connectors/issues/1457
+ Compile / sources := (Compile / sources).value.filterNot { f =>
+ f.getPath.replace('\\',
'/').contains("/pekko-grpc/main/com/google/protobuf")
+ },
+ compile / javacOptions := (compile / javacOptions).value.filterNot(_ ==
"-Xlint:deprecation"))
+ .enablePlugins(PekkoGrpcPlugin)
+ .dependsOn(googleCommon)
lazy val googleCloudStorage = pekkoConnectorProject(
"google-cloud-storage",
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 05c8c5158..98592d206 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -306,7 +306,7 @@ object Dependencies {
// see Pekko gRPC version in plugins.sbt
libraryDependencies ++= Seq(
//
https://github.com/googleapis/java-pubsub/tree/master/proto-google-cloud-pubsub-v1/
- "com.google.cloud" % "google-cloud-pubsub" % "1.143.1" % "protobuf-src",
+ "com.google.cloud" % "google-cloud-pubsub" % "1.148.0" % "protobuf-src",
"io.grpc" % "grpc-auth" %
org.apache.pekko.grpc.gen.BuildInfo.grpcVersion,
"com.google.auth" % "google-auth-library-oauth2-http" %
GoogleAuthVersion,
"com.google.protobuf" % "protobuf-java" % protobufJavaVersion % Runtime,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]