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 013705557 exclude some generated Java source when generating scaladoc
(#1456)
013705557 is described below
commit 013705557d8a9c0b1724248a709ce00f730ae236
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Feb 25 16:35:15 2026 +0100
exclude some generated Java source when generating scaladoc (#1456)
* exclude some generated Java source when generating scaladoc
* Update build.sbt
---
build.sbt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/build.sbt b/build.sbt
index 9c4877ded..c278e43ab 100644
--- a/build.sbt
+++ b/build.sbt
@@ -236,6 +236,11 @@ lazy val googleCloudBigQueryStorage =
pekkoConnectorProject(
compile / javacOptions := (compile / javacOptions).value.filterNot(_ ==
"-Xlint:deprecation"),
Compile / compileOrder := CompileOrder.JavaThenScala,
Test / compileOrder := CompileOrder.Mixed,
+ // the following is needed to exclude the gRPC generated sources for
protobuf-java from the doc sources,
+ // otherwise the Scaladoc tool fails -
https://github.com/apache/pekko-connectors/issues/1440
+ Compile / doc / sources := (Compile / doc / sources).value.filterNot { f =>
+ f.getPath.replace('\\',
'/').contains("/pekko-grpc/main/com/google/protobuf")
+ },
Test / fork := true,
Test / javaOptions ++=
Seq("--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED")
).dependsOn(googleCommon)
@@ -478,7 +483,6 @@ lazy val docs = project
IO.copy(List(dir / "pekko-connectors-root-licenses.md" ->
targetFile)).toList
}
}.taskValue)
- .dependsOn(googleCloudBigQueryStorage) //
https://github.com/apache/pekko-connectors/issues/1440
lazy val testkit = internalProject("testkit", Dependencies.testkit)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]