mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix aggregatedJavadocs task
This commit is contained in:
parent
b32d46b08a
commit
18925df124
30
build.gradle
30
build.gradle
@ -157,24 +157,22 @@ configure(['worldedit-core', 'worldedit-bukkit', 'favs'].collect { project("$it"
|
|||||||
// include '**/*.java'
|
// include '**/*.java'
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all child projects as if it was a single project', group: 'Documentation') {
|
}
|
||||||
destinationDir = file("./docs/javadoc")
|
task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all child projects as if it was a single project', group: 'Documentation') {
|
||||||
title = "$project.name $version API"
|
destinationDir = file("./docs/javadoc")
|
||||||
options.author true
|
title = "$project.name $version API"
|
||||||
options.links 'http://docs.spring.io/spring/docs/4.3.x/javadoc-api/', 'http://docs.oracle.com/javase/8/docs/api/', 'http://docs.spring.io/spring-ws/docs/2.3.0.RELEASE/api/', 'http://docs.spring.io/spring-security/site/docs/4.0.4.RELEASE/apidocs/'
|
options.author true
|
||||||
options.addStringOption('Xdoclint:none', '-quiet')
|
options.links 'http://docs.spring.io/spring/docs/4.3.x/javadoc-api/', 'http://docs.oracle.com/javase/8/docs/api/', 'http://docs.spring.io/spring-ws/docs/2.3.0.RELEASE/api/', 'http://docs.spring.io/spring-security/site/docs/4.0.4.RELEASE/apidocs/'
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
|
||||||
delete "./docs"
|
delete "./docs"
|
||||||
|
|
||||||
subprojects.each { proj ->
|
subprojects.each { proj ->
|
||||||
proj.tasks.withType(Javadoc).each { javadocTask ->
|
proj.tasks.withType(Javadoc).each { javadocTask ->
|
||||||
source += javadocTask.source
|
source += javadocTask.source
|
||||||
classpath += javadocTask.classpath
|
classpath += javadocTask.classpath
|
||||||
excludes += javadocTask.excludes
|
excludes += javadocTask.excludes
|
||||||
includes += javadocTask.includes
|
includes += javadocTask.includes
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user