mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Gradle 'api' task depends on 'jar' tasks
Update the gradle 'api' task to depend on the 'jar' task of all subprojects. This intern ensures that the 'asmRepackJar' and 'cglibRepackJar' tasks run which is critical for JavaDoc generation.
This commit is contained in:
Notes:
Chris Beams
2013-01-08 09:55:25 +01:00
Issue: SPR-10151
@@ -788,6 +788,11 @@ configure(rootProject) {
|
||||
description = "Generates aggregated Javadoc API documentation."
|
||||
title = "${rootProject.description} ${version} API"
|
||||
|
||||
dependsOn {
|
||||
subprojects.collect {
|
||||
it.tasks.getByName("jar")
|
||||
}
|
||||
}
|
||||
options.memberLevel = org.gradle.external.javadoc.JavadocMemberLevel.PROTECTED
|
||||
options.author = true
|
||||
options.header = rootProject.description
|
||||
|
||||
Reference in New Issue
Block a user