Skip to content

Commit

Permalink
Do not publish javadoc jar when exportJavadoc disabled (apache#33560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn authored Jan 10, 2025
1 parent 6b3bca3 commit 0ea0fb4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1862,6 +1862,7 @@ class BeamModulePlugin implements Plugin<Project> {
project.artifacts.archives project.testSourcesJar

project.task('javadocJar', type: Jar, dependsOn: project.javadoc) {
enabled = project.ext.exportJavadoc
archiveClassifier = 'javadoc'
from project.javadoc.destinationDir
}
Expand Down

0 comments on commit 0ea0fb4

Please sign in to comment.