Skip to content

Commit

Permalink
Fail Javadoc aggregateJavadoc task if there's an error (#17801)
Browse files Browse the repository at this point in the history
  • Loading branch information
y1chi authored Jun 1, 2022
1 parent 50f31c2 commit 36d0455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/java/javadoc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
Expand All @@ -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()) {
Expand Down

0 comments on commit 36d0455

Please sign in to comment.