-
Notifications
You must be signed in to change notification settings - Fork 42
/
build.gradle.kts
55 lines (43 loc) · 1.24 KB
/
build.gradle.kts
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
plugins {
java
`java-library`
}
allprojects {
version = "2.6.1"
apply(plugin = "java")
apply(plugin = "java-library")
tasks.named<Test>("test") {
useJUnitPlatform()
}
repositories {
mavenCentral() //keep an eye on this, see libgdx 1.10.0
}
dependencies {
testImplementation(rootProject.libs.bundles.junit)
testImplementation(rootProject.libs.mockito)
testImplementation(rootProject.libs.assertj)
testRuntimeOnly(rootProject.libs.junit.jupiter.engine)
}
}
project(":desktop") {
repositories {
mavenCentral()
}
dependencies {
implementation(project(":core"))
implementation(rootProject.libs.gdx.lwjgl3)
implementation(variantOf(rootProject.libs.gdx.freetype.platform) { classifier("natives-desktop") })
}
}
project(":core") {
repositories {
mavenCentral()
}
dependencies {
implementation(rootProject.libs.gdx)
implementation(variantOf(rootProject.libs.gdx.platform) { classifier("natives-desktop") })
implementation(rootProject.libs.bundles.gdx.vfx)
implementation(rootProject.libs.logback)
testImplementation(rootProject.libs.gdx.backend.headless)
}
}