Skip to content

Commit 5620be0

Browse files
committed
Update aggregated javadoc to account for project path changes
Closes gh-46423
1 parent 883d7ac commit 5620be0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

documentation/spring-boot-docs/build.gradle

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,15 @@ def aggregatedJavadoc = tasks.register('aggregatedJavadoc', Javadoc) {
407407
}
408408

409409
project.rootProject.gradle.projectsEvaluated {
410-
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project }
410+
Set<Project> publishedProjects = rootProject.subprojects
411+
.findAll { it != project }
411412
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
412-
.findAll { !it.path.contains(":spring-boot-tools:") ||
413-
it.path.contains(":spring-boot-tools:spring-boot-buildpack-platform") ||
414-
it.path.contains(":spring-boot-tools:spring-boot-loader-tools") ||
415-
(it.path.contains(":spring-boot-tools:spring-boot-loader") && !it.path.contains("spring-boot-loader-classic"))}
413+
.findAll { !it.path.contains(":build-plugin:") }
414+
.findAll { !it.path.contains(":cli:") }
415+
.findAll { !it.path.contains(":configuration-metadata:") }
416+
.findAll { !it.path.contains(":core:spring-boot-properties-migrator") }
417+
.findAll { !it.path.contains(":loader:spring-boot-jarmode-tools") }
418+
.findAll { !it.path.contains(":loader:spring-boot-loader-classic") }
416419
.findAll { !it.name.startsWith('spring-boot-starter') }
417420
aggregatedJavadoc.configure {
418421
dependsOn publishedProjects.javadoc

0 commit comments

Comments
 (0)