-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
64 lines (52 loc) · 1.89 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
56
57
58
59
60
61
62
63
64
plugins {
id("java-library")
}
group = "io.nova"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
// Generated with https://www.lwjgl.org/customize
val lwjglVersion = "3.3.1"
val jomlVersion = "1.10.5"
val lwjglNatives = "natives-macos-arm64"
dependencies {
// Tintyfd
implementation("org.lwjgl", "lwjgl-tinyfd")
runtimeOnly("org.lwjgl", "lwjgl-tinyexr", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-tinyfd", classifier = lwjglNatives)
api("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
// IMGUI
api(fileTree("libs/imgui") {
include("*.jar")
})
// BOX2D
api(fileTree("libs/jbox2d") {
include("*.jar")
})
// LWJGL
implementation(platform("org.lwjgl:lwjgl-bom:$lwjglVersion"))
implementation("org.lwjgl", "lwjgl")
implementation("org.lwjgl", "lwjgl-assimp")
implementation("org.lwjgl", "lwjgl-glfw")
implementation("org.lwjgl", "lwjgl-nfd")
implementation("org.lwjgl", "lwjgl-openal")
implementation("org.lwjgl", "lwjgl-opengl")
implementation("org.lwjgl", "lwjgl-stb")
runtimeOnly("org.lwjgl", "lwjgl", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-assimp", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-glfw", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-nfd", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-openal", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-opengl", classifier = lwjglNatives)
runtimeOnly("org.lwjgl", "lwjgl-stb", classifier = lwjglNatives)
api("org.joml", "joml", jomlVersion)
}