aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-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"
+}