fix to aggregateJavadoc task
This commit is contained in:
parent
120019b343
commit
aa514f7cfc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue