This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new da186a146 Update google-cloud-pubsub to 1.148.0 (#1420)
da186a146 is described below
commit da186a146a43149926e00d83d79f1c90d23268a8
Author: Scala Steward <[email protected]>
AuthorDate: Thu Feb 26 11:56:51 2026 +0100
Update google-cloud-pubsub to 1.148.0 (#1420)
* Update google-cloud-pubsub to 1.148.0
* workaround protobuf generated code compile issues
* Update build.sbt
---------
Co-authored-by: PJ Fanning <[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 06e87f2fc..58ef5ac7c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -266,8 +266,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 99350560c..d61ae4eaf 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -282,7 +282,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.145.0" % "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]