This is an automated email from the ASF dual-hosted git repository.
yichi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 36d0455459f Fail Javadoc aggregateJavadoc task if there's an error
(#17801)
36d0455459f is described below
commit 36d0455459f7093890d49c9411125e3a3cbc932a
Author: Yichi Zhang <[email protected]>
AuthorDate: Wed Jun 1 11:51:32 2022 -0700
Fail Javadoc aggregateJavadoc task if there's an error (#17801)
---
sdks/java/javadoc/build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/java/javadoc/build.gradle b/sdks/java/javadoc/build.gradle
index 62d98f70ac4..c0622b17304 100644
--- a/sdks/java/javadoc/build.gradle
+++ b/sdks/java/javadoc/build.gradle
@@ -62,6 +62,7 @@ task aggregateJavadoc(type: Javadoc) {
source exportedJavadocProjects.collect { project(it).sourceSets.main.allJava
}
classpath = files(exportedJavadocProjects.collect {
project(it).sourceSets.main.compileClasspath })
destinationDir = file("${buildDir}/docs/javadoc")
+ failOnError = true
exclude "org/apache/beam/examples/*"
exclude "org/apache/beam/fn/harness/*"
@@ -76,7 +77,6 @@ task aggregateJavadoc(type: Javadoc) {
exclude "org/apache/beam/sdk/util/*"
options.with {
- failOnError false
title "Apache Beam " + project.version
overview 'overview.html'
for (dep in project.library.java.values()) {