diff --git a/spring-boot-project/spring-boot-docs/build.gradle b/spring-boot-project/spring-boot-docs/build.gradle index d4c639af33..ae65765d05 100644 --- a/spring-boot-project/spring-boot-docs/build.gradle +++ b/spring-boot-project/spring-boot-docs/build.gradle @@ -204,7 +204,8 @@ task aggregatedJavadoc(type: Javadoc) { .findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) } .findAll { !it.path.contains(":spring-boot-tools:") || it.path.contains(":spring-boot-tools:spring-boot-buildpack-platform") || - it.path.contains(":spring-boot-tools:spring-boot-loader-tools") } + it.path.contains(":spring-boot-tools:spring-boot-loader-tools") || + (it.path.contains(":spring-boot-tools:spring-boot-loader") && !it.path.contains("spring-boot-loader-classic"))} .findAll { !it.name.startsWith('spring-boot-starter') } dependsOn publishedProjects.javadoc source publishedProjects.javadoc.source