blob: 33fce73236ac7aaecf8fa2f0948fee09f6b4e4c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
apply plugin: "java"
sourceCompatibility = 1.7
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
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, dependsOn: compileJava) {
title = "RustAndDust"
source = sourceSets.main.allJava
classpath = sourceSets.main.compileClasspath
destinationDir = file("../javadoc/")
}
eclipse.project {
name = appName + "-core"
}
|