-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
104 lines (87 loc) · 3.5 KB
/
build.gradle
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
group 'de.gamedevbaden'
version '0.1'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'idea'
repositories {
jcenter()
maven { url 'http://nifty-gui.sourceforge.net/nifty-maven-repo'}
}
mainClassName = 'de.gamedevbaden.crucified.tests.SimpleClientServerTest.ClientTest'
ext.jmeVersion = "[3.1,)"
project(":assets") {
apply plugin: "java"
buildDir = rootProject.file("build/assets")
sourceSets {
main {
resources {
srcDir '.'
exclude 'out'
}
}
}
}
sourceSets {
main {
java {
srcDirs = ['src']
}
}
test {
java {
srcDirs = ['test']
}
}
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
//compile group: 'ch.qos.logback', name: 'logback-classic', version: jmeVersion.logback
compile group: 'org.jmonkeyengine', name: 'jme3-core', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-effects', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-networking', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-plugins', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-jogg', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-terrain', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-blender', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-bullet', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-bullet-native', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-niftygui', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-desktop', version: jmeVersion
compile group: 'org.jmonkeyengine', name: 'jme3-lwjgl3', version: jmeVersion
/*compile "org.jmonkeyengine:jme3-core:$jmeVersion"
compile "org.jmonkeyengine:jme3-desktop:$jmeVersion"
compile "org.jmonkeyengine:jme3-lwjgl:$jmeVersion"
compile "org.jmonkeyengine:jme3-bullet-native:$jmeVersion"
compile "org.jmonkeyengine:jme3-effects:$jmeVersion"
compile "org.jmonkeyengine:jme3-jogg:$jmeVersion"
compile "org.jmonkeyengine:jme3-jogl:$jmeVersion"
compile "org.jmonkeyengine:jme3-lwjgl3:$jmeVersion"
compile "org.jmonkeyengine:jme3-networking:$jmeVersion"
compile "org.jmonkeyengine:jme3-plugins:$jmeVersion"
compile "org.jmonkeyengine:jme3-terrain:$jmeVersion"*/
//You need to uncomment nifty repository in the repositories section if you use this dependency
compile "org.jmonkeyengine:jme3-niftygui:$jmeVersion"
runtime project(':assets')
}
task runServer(type: JavaExec) {
classpath sourceSets.test.runtimeClasspath + files('assets','.')
main = 'de.gamedevbaden.crucified.tests.SimpleClientServerTest.ServerTest'
standardInput = System.in
}
task runClient(type: JavaExec) {
classpath sourceSets.test.runtimeClasspath + files('assets','.')
main = 'de.gamedevbaden.crucified.tests.SimpleClientServerTest.ClientTest'
standardInput = System.in
}
task runSingleplayer(type: JavaExec) {
classpath sourceSets.test.runtimeClasspath + files('assets','.')
main = 'de.gamedevbaden.crucified.tests.SingleplayerTest'
standardInput = System.in
}
task runChunk(type: JavaExec) {
classpath sourceSets.test.runtimeClasspath + files('assets','.')
main = 'de.gamedevbaden.crucified.tests.ChunkTest'
standardInput = System.in
}
task wrapper(type: Wrapper) {
}