This is an automated email from the ASF dual-hosted git repository.
pjfanning 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 e2c217848 use scalapb grpc scala3 sources in scala 3 builds (#1759)
e2c217848 is described below
commit e2c217848577ca71631318e54771b7f0f29b30ba
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Jul 7 16:42:22 2026 +0100
use scalapb grpc scala3 sources in scala 3 builds (#1759)
* use scalapb grpc scala3 sources in scala 3 builds
* Update build.sbt
---
build.sbt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build.sbt b/build.sbt
index c28a0b155..b423bc4cb 100644
--- a/build.sbt
+++ b/build.sbt
@@ -250,6 +250,9 @@ lazy val googleCloudBigQueryStorage = pekkoConnectorProject(
Compile / sources := (Compile / sources).value.filterNot { f =>
f.getPath.replace('\\',
'/').contains("/pekko-grpc/main/com/google/protobuf")
},
+ Compile / pekkoGrpcCodeGeneratorSettings ++= (
+ if (Common.isScala3.value) Seq("scala3_sources") else Seq.empty
+ ),
Test / fork := true,
Test / javaOptions ++=
Seq("--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED")
).dependsOn(googleCommon)
@@ -282,6 +285,9 @@ lazy val googleCloudPubSubGrpc = pekkoConnectorProject(
previousFilter.accept(f) ||
(Common.isScala3Next.value && f.getAbsolutePath.replace('\\',
'/').contains("grpc/reflection/v1alpha")))
},
+ Compile / pekkoGrpcCodeGeneratorSettings ++= (
+ if (Common.isScala3.value) Seq("scala3_sources") else Seq.empty
+ ),
// 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]