Skip to content

Commit 5cd4002

Browse files
committed
Remove an unnecessary .each
`subprojects` can be invoked directly with a closure to apply to each subproject.
1 parent 14d1b0d commit 5cd4002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tasks.register('aggregatedJavadocs', Javadoc) { aggregated ->
5858
title = "$project.name $version API"
5959
options.author true
6060

61-
subprojects.each { proj ->
61+
subprojects { proj ->
6262
proj.tasks.withType(Javadoc) { javadocTask ->
6363
aggregated.source += javadocTask.source
6464
aggregated.classpath += javadocTask.classpath

0 commit comments

Comments
 (0)