mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Exclude starters from Javadoc aggregation
See gh-24648
This commit is contained in:
parent
691f905c0b
commit
fe3217d2c4
@ -117,6 +117,7 @@ task aggregatedJavadoc(type: Javadoc) {
|
|||||||
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project}
|
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project}
|
||||||
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
|
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
|
||||||
.findAll { !excludedProjects.contains(it.name) }
|
.findAll { !excludedProjects.contains(it.name) }
|
||||||
|
.findAll { !it.name.startsWith('spring-boot-starter') }
|
||||||
dependsOn publishedProjects.javadoc
|
dependsOn publishedProjects.javadoc
|
||||||
source publishedProjects.javadoc.source
|
source publishedProjects.javadoc.source
|
||||||
classpath = project.files(publishedProjects.javadoc.classpath)
|
classpath = project.files(publishedProjects.javadoc.classpath)
|
||||||
|
Loading…
Reference in New Issue
Block a user