forked from mbrlabs/Mundus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
92 lines (73 loc) · 2.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
buildscript {
ext.kotlinVersion = '1.1.1'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
ext {
appName = "Mundus"
gdxVersion = '1.9.6'
aiVersion = '1.8.0'
visuiVersion = '1.3.0'
kryoVersion = '4.0.0'
junitVersion = '4.12'
commonsIoVersion = '2.5'
commonsLangVersion = '3.4'
ktxVersion = '1.9.6-b1'
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
project(":commons") {
apply plugin: "java"
dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
testCompile "junit:junit:$junitVersion"
}
}
project(":editor") {
apply plugin: "java"
apply plugin: "kotlin"
dependencies {
compile project(":commons")
// Kotlin libs
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
// compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
compile "com.github.czyzby:ktx-inject:$ktxVersion"
// libGDX
compile "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
// gdx-freetype
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
// commons
compile "org.apache.commons:commons-lang3:$commonsLangVersion"
compile "commons-io:commons-io:$commonsIoVersion"
// other
compile "com.kotcrab.vis:vis-ui:$visuiVersion"
compile "com.esotericsoftware:kryo:$kryoVersion"
testCompile "junit:junit:$junitVersion"
}
}
project(":gdx-runtime") {
apply plugin: "java"
dependencies {
compile project(":commons")
}
}
tasks.eclipse.doLast {
delete ".project"
}