diff options
-rw-r--r-- | core/build.gradle | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/core/build.gradle b/core/build.gradle index 5e4e04b..d70163b 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -7,6 +7,46 @@ sourceSets.main.java.srcDirs = [ "src/" ] sourceSets.test.java.srcDirs = [ "test/" ] +// sourceSets { +// engine { +// java { +// srcDirs = [ "src/" ] +// include '**/engine/**' +// } +// } +// game { +// java { +// srcDirs = [ "src/" ] +// include '**/game/**' +// } +// } +// } + +// task engineDocs(type: Javadoc) { +// title = "RustAndDust - Engine" +// source = sourceSets.engine.allJava +// classpath = sourceSets.main.compileClasspath +// destinationDir = file("../javadoc/engine") +//} + +//task gameDocs(type: Javadoc) { +// title = "RustAndDust - Game" +// source = sourceSets.game.allJava +// classpath = sourceSets.main.compileClasspath +// destinationDir = file("../javadoc/game") +//} + +//task allDocs { +// dependsOn engineDocs, gameDocs +//} + +task javadocs(type: Javadoc) { + title = "RustAndDust" + source = sourceSets.main.allJava + classpath = sourceSets.main.compileClasspath + destinationDir = file("../javadoc/") +} + eclipse.project { name = appName + "-core" } |