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