-
Notifications
You must be signed in to change notification settings - Fork 81
/
build.gradle
96 lines (83 loc) · 3.33 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = '1.4.0'
ext {
appName = "delver"
gdxVersion = '1.12.1'
gdxControllersVersion = '2.2.2'
jamepadVersion = '2.0.14.2'
roboVMVersion = '2.3.9'
kryoVersion = '2.24.0'
reflectionsVersion = '0.9.12'
inkVersion = '1.0.0'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
project(":DungeoneerDesktop") {
apply plugin: "java-library"
dependencies {
implementation project(":Dungeoneer")
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
api "com.badlogicgames.gdx:gdx-lwjgl3-angle:$gdxVersion"
// Can't use this next yet due to: https://github.com/libgdx/libgdx/issues/6989
//api "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$gdxVersion" // Needed for Mac to start on the correct thread
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx-controllers:gdx-controllers-desktop:$gdxControllersVersion"
}
}
project(":DelvEdit") {
apply plugin: "java-library"
dependencies {
implementation project(":Dungeoneer")
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
api "com.badlogicgames.gdx:gdx-lwjgl3-angle:$gdxVersion"
// Can't use this next yet due to: https://github.com/libgdx/libgdx/issues/6989
// api "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$gdxVersion" // Needed for Mac to start on the correct thread
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "org.reflections:reflections:$reflectionsVersion"
api "com.badlogicgames.gdx-controllers:gdx-controllers-desktop:$gdxControllersVersion"
}
}
project(":DungeoneerAndroid") {
apply plugin: "android"
configurations { natives }
dependencies {
implementation("com.badlogicgames.gdx:gdx-backend-android:$gdxVersion")
implementation project(":Dungeoneer")
api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
api "com.badlogicgames.gdx-controllers:gdx-controllers-android:$gdxControllersVersion"
}
}
project(":Dungeoneer") {
apply plugin: "java-library"
dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx-controllers:gdx-controllers-core:$gdxControllersVersion"
api "com.esotericsoftware.kryo:kryo:$kryoVersion"
api "com.bladecoder.ink:blade-ink:$inkVersion"
}
}