-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
112 lines (86 loc) · 3.43 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
105
106
107
108
109
110
111
112
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
dependencies {
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.0'
ext {
appName = 'playground'
gdxVersion = '1.11.0'
roboVMVersion = '1.2.0'
box2DLightsVersion = '1.5'
ashleyVersion = '1.7.4'
aiVersion = '1.8.2'
visuiVersion = '1.5.0'
artemisOdbVersion = "2.3.0"
artemisOdbcontribVersion = "2.4.0"
gdxVideoVersion = "0.0.1"
kryoVersion = "4.0.2"
gdxUtilsVersion = "0.13.4"
spineVersion = "3.8.55.1"
shapeDrawerVersion = "2.5.0"
textratypistVersion = '0.6.3'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://jitpack.io" }
google()
}
}
project(":desktop") {
apply plugin: "java-library"
dependencies {
api project(":core")
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
}
}
project(":core") {
apply plugin: "java-library"
apply plugin: 'idea'
dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
api "com.badlogicgames.gdx:gdx-bullet:$gdxVersion"
api "com.badlogicgames.gdx:gdx-bullet-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-ai:$aiVersion"
api "com.kotcrab.vis:vis-ui:$visuiVersion"
api "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
// implementation group: 'net.onedaybeard.artemis', name: 'artemis-odb', version: '2.3.0'
api "net.onedaybeard.artemis:artemis-odb-serializer-json-libgdx:$artemisOdbVersion"
api "net.mostlyoriginal.artemis-odb:contrib-core:$artemisOdbcontribVersion"
api "com.esotericsoftware:kryo:$kryoVersion"
api "com.esotericsoftware.spine:spine-libgdx:$spineVersion"
// api "com.badlogicgames.gdxvideo:gdx-video:$gdxVideoVersion"
api fileTree(dir: '../libs', include: '*.jar')
api "com.badlogicgames.ashley:ashley:$ashleyVersion"
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.+"
api "net.dermetfan.libgdx-utils:libgdx-utils-box2d:$gdxUtilsVersion"
api "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
api "space.earlygrey:shapedrawer:$shapeDrawerVersion"
api "com.github.tommyettinger:textratypist:$textratypistVersion"
}
}
tasks.eclipse.doLast {
delete ".project"
}