From fe3217d2c4902115b73b3a37da7d39f022bc994f Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 5 Jan 2021 17:01:20 +0100 Subject: [PATCH] Exclude starters from Javadoc aggregation See gh-24648 --- spring-boot-project/spring-boot-docs/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/build.gradle b/spring-boot-project/spring-boot-docs/build.gradle index eedf3256d1..1825bca67c 100644 --- a/spring-boot-project/spring-boot-docs/build.gradle +++ b/spring-boot-project/spring-boot-docs/build.gradle @@ -117,6 +117,7 @@ task aggregatedJavadoc(type: Javadoc) { Set publishedProjects = rootProject.subprojects.findAll { it != project} .findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) } .findAll { !excludedProjects.contains(it.name) } + .findAll { !it.name.startsWith('spring-boot-starter') } dependsOn publishedProjects.javadoc source publishedProjects.javadoc.source classpath = project.files(publishedProjects.javadoc.classpath)