-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
117 lines (103 loc) · 4 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
117
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
}
}
allprojects {
apply plugin: "idea"
apply plugin: "eclipse"
version = '0.02'
ext {
appName = 'ForgE'
gdxVersion = '1.6.4'
roboVMVersion = '1.0.0-alpha-04'
aiVersion = '1.4.0'
ashleyVersion = '1.3.1'
}
repositories {
mavenCentral()
maven { url "http://mvnrepository.com/" }
maven { url "http://repo.typesafe.com/typesafe/releases/" }
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://oss.sonatype.org/content/repositories/releases/" }
flatDir dirs: "${rootDir}/libs"
}
}
project(":editor") {
apply plugin: 'java'
compileJava {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
dependencies {
compile project(":desktop")
compile files("${rootDir}/libs/ColorPicker.jar")
compile 'net.contentobjects.jnotify:jnotify:0.94+'
compile 'org.apache.commons:commons-io:1.3+'
compile "com.badlogicgames.gdx:gdx-bullet-platform:$gdxVersion:natives-desktop"
compile 'org.nuiton.thirdparty:l2fprod-common:0.1'
compile 'org.dockingframes:docking-frames-common:1.1.2-SNAPSHOT'
compile files("${rootDir}/libs/task-dialog-1.3.5.jar")
compile files("${rootDir}/libs/swing-bits-0.5.0.jar")
compile files("${rootDir}/libs/miglayout-3.7.2.jar")
compile files("${rootDir}/libs/forms_rt-14.0.3.jar")
compile 'com.fifesoft:rsyntaxtextarea:2.5.6'
}
}
project(":desktop") {
apply plugin: "java"
compileJava {
sourceCompatibility "1.7"
targetCompatibility "1.7"
}
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-bullet-platform:$gdxVersion:natives-desktop"
compile files("${rootDir}/libs/task-dialog-1.3.5.jar")
compile files("${rootDir}/libs/swing-bits-0.5.0.jar")
compile files("${rootDir}/libs/ColorPicker.jar")
compile files("${rootDir}/libs/miglayout-3.7.2.jar")
}
}
project(":core") {
apply plugin: 'java'
dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-ai:$aiVersion"
compile "com.badlogicgames.ashley:ashley:$ashleyVersion"
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-bullet:$gdxVersion"
compile 'com.esotericsoftware:kryo-shaded:3.0.0'
compile 'bsf:bsf:2.4.0'
compile 'org.jruby:jruby-complete:1.7.22'
compile 'org.apache.commons:commons-lang3:3.4'
}
}
project(":android") {
apply plugin: "android"
configurations { natives }
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-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-x86"
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
}
}
tasks.eclipse.doLast {
delete ".project"
}