diff options
author | Julien Gouesse <[email protected]> | 2023-04-17 19:56:11 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2023-04-17 19:56:11 +0200 |
commit | 06c84ec213de7200500284759bd9d83390ebc246 (patch) | |
tree | f3d59554195cd729af04b924045a204594d4decc | |
parent | efc1acb1c42940af03049bf52f8b014fbf1b9f2b (diff) |
Generates the aggregated Java API documentation
-rw-r--r-- | build.gradle | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 8c9eacf..b2dd102 100644 --- a/build.gradle +++ b/build.gradle @@ -131,3 +131,14 @@ artifacts.archives packageSources } } } +// inspired of a Gradle employee's suggestion: https://discuss.gradle.org/t/how-can-i-create-aggregated-javadocs/3165/2 +task javadoc(type: Javadoc, overwrite: true) { + source subprojects.collect { project -> + project.sourceSets.main.allJava + } + destinationDir = new File(buildDir, 'javadoc') + classpath = files(subprojects.collect { project -> + project.sourceSets.main.compileClasspath + }) + title = "JogAmp's Ardor3D Continuation 1.0-SNAPSHOT API" +} |