dsmiley commented on code in PR #2925:
URL: https://github.com/apache/solr/pull/2925#discussion_r1903139922


##########
gradle/documentation/render-javadoc.gradle:
##########
@@ -193,6 +194,10 @@ configure(subprojects) {
       
task.project.configurations.implementation.allDependencies.withType(ProjectDependency).collect
 { dep ->
         def otherProject = dep.dependencyProject
         return otherProject.tasks.findByName(task.name)
+      }.findAll {
+        // Do not depend on disabled tasks or tasks that do not exist
+        // :platform module does not have a renderJavaDoc and therefore task 
is null
+        it != null && it.enabled == true

Review Comment:
   in groovy I think this can be `it?.enabled == true` and maybe not even need 
the `== true` part



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to