summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-07 13:03:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-07 13:03:27 +0100
commit08bc68c2da6f683b0fa4dd04c022b9b5b2bae83c (patch)
tree798d6b50515e9152e1c3810d614d9329e6360c99
parent3c29b80709c5885c5548a6fcaccfe35189b19b41 (diff)
downloadRustAndDust-08bc68c2da6f683b0fa4dd04c022b9b5b2bae83c.zip
RustAndDust-08bc68c2da6f683b0fa4dd04c022b9b5b2bae83c.tar.gz
gradle: task javadocs dependsOn compileJava
-rw-r--r--core/build.gradle2
-rwxr-xr-xrun2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/build.gradle b/core/build.gradle
index d70163b..33fce73 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -40,7 +40,7 @@ sourceSets.test.java.srcDirs = [ "test/" ]
// dependsOn engineDocs, gameDocs
//}
-task javadocs(type: Javadoc) {
+task javadocs(type: Javadoc, dependsOn: compileJava) {
title = "RustAndDust"
source = sourceSets.main.allJava
classpath = sourceSets.main.compileClasspath
diff --git a/run b/run
index 2fc6bbb..6306959 100755
--- a/run
+++ b/run
@@ -47,7 +47,7 @@ case "$1" in
;;
"j")
shift;
- ARGS="core:compileJava ctags $@"
+ ARGS="core:javadocs ctags $@"
gradlew_do
;;
"d")