Skip to content

Commit 9d30de9

Browse files
committed
Exclude all tools projects from the aggregated javadoc
Closes spring-projectsgh-31955
1 parent f67db3d commit 9d30de9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spring-boot-project/spring-boot-docs/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,9 @@ task dependencyVersions(type: org.springframework.boot.build.constraints.Extract
189189
task aggregatedJavadoc(type: Javadoc) {
190190
dependsOn dependencyVersions
191191
project.rootProject.gradle.projectsEvaluated {
192-
Set<String> excludedProjects = ['spring-boot-antlib', 'spring-boot-configuration-metadata', 'spring-boot-configuration-processor',
193-
'spring-boot-gradle-plugin', 'spring-boot-jarmode-layertools', 'spring-boot-maven-plugin']
194-
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project}
192+
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project }
195193
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
196-
.findAll { !excludedProjects.contains(it.name) }
194+
.findAll { !it.path.contains(":spring-boot-tools:") }
197195
.findAll { !it.name.startsWith('spring-boot-starter') }
198196
dependsOn publishedProjects.javadoc
199197
source publishedProjects.javadoc.source

0 commit comments

Comments
 (0)