fix to aggregateJavadoc task

This commit is contained in:
Steve Ebersole 2021-09-29 02:16:35 -05:00
parent 120019b343
commit aa514f7cfc
1 changed files with 3 additions and 1 deletions

View File

@ -205,10 +205,12 @@ task aggregateJavadocs(type: Javadoc) {
if ( gradle.ext.javaToolchainEnabled ) { if ( gradle.ext.javaToolchainEnabled ) {
// Display version of Java tools // Display version of Java tools
doFirst { doFirst {
if ( javadocTool.present ) {
logger.lifecycle "Aggregating javadoc with '${javadocTool.get().metadata.installationPath}'" logger.lifecycle "Aggregating javadoc with '${javadocTool.get().metadata.installationPath}'"
} }
} }
} }
}
task stageIntegrationGuide(type: Copy) { task stageIntegrationGuide(type: Copy) {