-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
117 lines (92 loc) · 3.24 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
113
114
115
116
buildscript {
ext.kotlinVersion = '1.3.41'
repositories {
mavenCentral()
mavenLocal()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.7'
}
}
allprojects {
version = '1.5.0'
ext {
gdxVersion = '1.9.10'
roboVMVersion = '2.3.7'
box2DLightsVersion = '1.4'
ashleyVersion = '1.7.0'
aiVersion = '1.8.0'
gdxUtilsVersion = '0.13.4'
appName = "GhostJumpers"
}
repositories {
mavenLocal()
jcenter()
google()
flatDir {
dirs '../libs'
}
}
}
project(":desktop") {
apply plugin: "kotlin"
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "uk.co.electronstudio.sdl2gdx:sdl2gdx:1.0.3-jimbly"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
}
project(":android") {
apply plugin: "android"
apply plugin: "kotlin-android"
configurations { natives }
dependencies {
compile project(":core")
//compile fileTree('../../retrogame/core/build/libs')
api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
api "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
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"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
}
project(":ios") {
apply plugin: "kotlin"
apply plugin: "robovm"
dependencies {
implementation project(":core")
api "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
api "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
api "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-reflect"
}
}
project(":core") {
apply plugin: "kotlin"
dependencies {
compile 'org.slf4j:slf4j-simple:1.7.21'
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "uk.co.electronstudio.retrowar:retrowar-common:1.3.1"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
jar {
manifest {
attributes("RetroWar-Version": "1.3.0",
"Factory-Class": "uk.co.electronstudio.ghostjumpers.PimpGameFactory"
)
}
}
}