@@ -201,15 +201,16 @@ dokkatoo {
201
201
moduleName. set(" Spring Boot Kotlin API" )
202
202
}
203
203
204
- task aggregatedJavadoc (type : Javadoc ) {
205
- project. rootProject. gradle. projectsEvaluated {
206
- Set<Project > publishedProjects = rootProject. subprojects. findAll { it != project }
207
- .findAll { it. plugins. hasPlugin(JavaPlugin ) && it. plugins. hasPlugin(MavenPublishPlugin ) }
208
- .findAll { ! it. path. contains(" :spring-boot-tools:" ) ||
209
- it. path. contains(" :spring-boot-tools:spring-boot-buildpack-platform" ) ||
210
- it. path. contains(" :spring-boot-tools:spring-boot-loader-tools" ) ||
211
- (it. path. contains(" :spring-boot-tools:spring-boot-loader" ) && ! it. path. contains(" spring-boot-loader-classic" ))}
212
- .findAll { ! it. name. startsWith(' spring-boot-starter' ) }
204
+ tasks. register(' aggregatedJavadoc' , Javadoc )
205
+ project. rootProject. gradle. projectsEvaluated {
206
+ Set<Project > publishedProjects = rootProject. subprojects. findAll { it != project }
207
+ .findAll { it. plugins. hasPlugin(JavaPlugin ) && it. plugins. hasPlugin(MavenPublishPlugin ) }
208
+ .findAll { ! it. path. contains(" :spring-boot-tools:" ) ||
209
+ it. path. contains(" :spring-boot-tools:spring-boot-buildpack-platform" ) ||
210
+ it. path. contains(" :spring-boot-tools:spring-boot-loader-tools" ) ||
211
+ (it. path. contains(" :spring-boot-tools:spring-boot-loader" ) && ! it. path. contains(" spring-boot-loader-classic" ))}
212
+ .findAll { ! it. name. startsWith(' spring-boot-starter' ) }
213
+ tasks. named(' aggregatedJavadoc' , Javadoc ). configure {
213
214
dependsOn publishedProjects. javadoc
214
215
source publishedProjects. javadoc. source
215
216
classpath = project. files(publishedProjects. javadoc. classpath)
0 commit comments