-
Notifications
You must be signed in to change notification settings - Fork 75
/
build.gradle
112 lines (93 loc) · 3.1 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 {
ext {
gdxVersion = '1.12.1'
roboVMVersion = '2.3.20'
roboVMGradleVersion = '2.3.20'
androidToolsVersion = '33.0.2'
androidGradleToolsVersion = '8.1.2'
gwtVersion = '2.8.2'
gwtGradleVersion = '1.1.29'
gwtGrettyVersion = '3.1.0'
}
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath "org.docstr:gwt-gradle-plugin:$gwtGradleVersion"
classpath "org.gretty:gretty:$gwtGrettyVersion"
classpath "com.android.tools.build:gradle:$androidGradleToolsVersion"
classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$roboVMGradleVersion"
// classpath "com.excelsiorjet:excelsior-jet-gradle-plugin:0.7.0"
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = "1.0"
ext {
appName = "Pax-Britannica"
}
repositories {
// mavenLocal()
mavenCentral()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
project(":core") {
apply plugin: "java-library"
dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
}
}
project(":desktop") {
apply plugin: "java-library"
// apply plugin: 'excelsiorJet'
dependencies {
implementation project(":core")
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
}
}
project(":android") {
apply plugin: "android"
configurations { natives }
dependencies {
implementation project(":core")
implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
}
}
project(":html") {
apply plugin: "java-library"
apply plugin: "gwt"
apply plugin: "war"
apply plugin: "org.gretty"
dependencies {
implementation project(":core")
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
}
}
project(":ios") {
apply plugin: 'java-library'
apply plugin: 'robovm'
dependencies {
implementation "com.mobidevelop.robovm:robovm-rt:${roboVMVersion}"
implementation "com.mobidevelop.robovm:robovm-cocoatouch:${roboVMVersion}"
implementation project(":core")
implementation "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
}
}
tasks.eclipse.doLast {
delete ".project"
}