-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
139 lines (110 loc) · 3.46 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
buildscript {
ext.kotlinVersion = '1.9.0'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
tasks.withType(Test) {
testLogging {
exceptionFormat "full"
showCauses true
showExceptions true
showStackTraces true
showStandardStreams true
events = ["passed", "skipped", "failed"]
}
}
ext {
appName = "Mundus"
gdxVersion = '1.13.0'
visuiVersion = '1.5.2'
kryoVersion = '5.2.0'
junitVersion = '4.13.2'
mockitoVersion = '1.10.19'
commonsIoVersion = '2.5'
commonsLangVersion = '3.12.0'
gltfVersion = '2.2.1'
args4jVersion = '2.33'
pf4jVersion = '3.11.0'
ktxVersion = '1.12.0-rc1'
}
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url 'https://jitpack.io' }
}
}
project(":commons") {
apply plugin: "java"
apply plugin: "java-library"
dependencies {
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.github.mgsx-dev.gdx-gltf:gltf:$gltfVersion"
testImplementation "junit:junit:$junitVersion"
testImplementation "org.mockito:mockito-all:$mockitoVersion"
}
}
project(":editor-commons") {
apply plugin: "java"
apply plugin: "java-library"
dependencies {
api project(":commons")
}
}
project(":editor") {
apply plugin: "java"
apply plugin: "kotlin"
dependencies {
api project(":commons")
api project(":editor-commons")
// Kotlin libs
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "io.github.libktx:ktx-inject:$ktxVersion"
// libGDX
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
// gdx-freetype
implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
// commons
implementation "org.apache.commons:commons-lang3:$commonsLangVersion"
implementation "commons-io:commons-io:$commonsIoVersion"
// Plugin framework
implementation "org.pf4j:pf4j:$pf4jVersion"
api project(":plugin-api")
// other
implementation "com.kotcrab.vis:vis-ui:$visuiVersion"
implementation "com.esotericsoftware:kryo:$kryoVersion"
implementation "args4j:args4j:$args4jVersion"
// tests
testImplementation "junit:junit:$junitVersion"
testImplementation "org.mockito:mockito-all:$mockitoVersion"
}
}
project(":gdx-runtime") {
apply plugin: "java"
apply plugin: "java-library"
dependencies {
api project(":commons")
}
}
project(":plugin-api") {
apply plugin: "java"
apply plugin: "java-library"
dependencies {
api project(":editor-commons")
// Plugin framework
api "org.pf4j:pf4j:$pf4jVersion"
}
}
tasks.eclipse.doLast {
delete ".project"
}