-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (35 loc) · 1.12 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
plugins {
application
distribution
id("org.jetbrains.kotlin.jvm") version ("1.3.61")
}
group = "juniojsv.engine"
version = "1.0.0"
repositories {
mavenCentral()
}
application(Action {
mainClassName = "juniojsv.engine.MainKt"
})
dependencies {
implementation("de.javagl:obj:0.3.0")
implementation("org.joml:joml:1.9.20")
implementation(platform("org.lwjgl:lwjgl-bom:3.2.3"))
implementation("org.lwjgl:lwjgl")
implementation("org.lwjgl:lwjgl-glfw")
implementation("org.lwjgl:lwjgl-opengl")
runtimeOnly("org.lwjgl:lwjgl::natives-windows")
runtimeOnly("org.lwjgl:lwjgl-glfw::natives-windows")
runtimeOnly("org.lwjgl:lwjgl-opengl::natives-windows")
val imGuiVersion = "1.81.0"
implementation("io.github.spair:imgui-java-binding:$imGuiVersion")
implementation("io.github.spair:imgui-java-lwjgl3:$imGuiVersion")
implementation("io.github.spair:imgui-java-natives-windows:$imGuiVersion")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
}
tasks.compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
tasks.compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}