Exclude starters from Javadoc aggregation

See gh-24648
pull/25129/head
dreis2211 4 years ago committed by Andy Wilkinson
parent 691f905c0b
commit fe3217d2c4

@ -117,6 +117,7 @@ task aggregatedJavadoc(type: Javadoc) {
Set<Project> 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)

Loading…
Cancel
Save