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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]