Skip to content

Commit 9e569cf

Browse files
committed
Remove non-user-facing packages from the javadoc
Closes gh-20517
1 parent a09ef94 commit 9e569cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-project/spring-boot-docs/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ task dependencyVersions(type: org.springframework.boot.build.constraints.Extract
5858
task javadoc(type: Javadoc) {
5959
dependsOn dependencyVersions
6060
project.rootProject.gradle.projectsEvaluated {
61+
Set<String> excludedProjects = ['spring-boot-antlib', 'spring-boot-configuration-metadata', 'spring-boot-configuration-processor',
62+
'spring-boot-gradle-plugin', 'spring-boot-jarmode-layertools', 'spring-boot-maven-plugin']
6163
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project}
6264
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
63-
.findAll { it.name != "spring-boot-maven-plugin" && it.name != "spring-boot-gradle-plugin" }
65+
.findAll { !excludedProjects.contains(it.name) }
6466
dependsOn publishedProjects.javadoc
6567
source publishedProjects.javadoc.source
6668
classpath = project.files(publishedProjects.javadoc.classpath)

0 commit comments

Comments
 (0)