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:
parent
ad1fda59c3
commit
f92f58d0b3
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
|
||||
|
|
Loading…
Reference in New Issue