vlsi commented on a change in pull request #117: Add gradle task 
'aggregateJavadocIncludingTests' that builds javadoc for both main and test
URL: https://github.com/apache/calcite-avatica/pull/117#discussion_r348905935
 
 

 ##########
 File path: build.gradle.kts
 ##########
 @@ -169,6 +169,19 @@ val javadocAggregate by tasks.registering(Javadoc::class) 
{
     setDestinationDir(file("$buildDir/docs/javadocAggregate"))
 }
 
+val javadocAggregateIncludingTests by tasks.registering(Javadoc::class) {
+    group = JavaBasePlugin.DOCUMENTATION_GROUP
+    description = "Generates aggregate javadoc for all the artifacts"
+
+    val sourceSets = allprojects
 
 Review comment:
   The order of project evaluation is not really defined, so I would suggest 
avoiding the access to "another project objects" when possible.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to