aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2023-04-17 19:56:11 +0200
committerJulien Gouesse <[email protected]>2023-04-17 19:56:11 +0200
commit06c84ec213de7200500284759bd9d83390ebc246 (patch)
treef3d59554195cd729af04b924045a204594d4decc
parentefc1acb1c42940af03049bf52f8b014fbf1b9f2b (diff)
Generates the aggregated Java API documentation
-rw-r--r--build.gradle11
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"
+}