-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (42 loc) · 1.21 KB
/
build.gradle.kts
File metadata and controls
53 lines (42 loc) · 1.21 KB
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
id("com.gradleup.shadow") version "9.2.2"
}
group = "dev.emortal"
version = "1.0.0"
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
implementation("com.github.stephengold:jolt-jni-Windows64:3.5.0")
runtimeOnly("com.github.stephengold:jolt-jni-Linux64:3.5.0:ReleaseSp")
runtimeOnly("com.github.stephengold:jolt-jni-Windows64:3.5.0:ReleaseSp")
implementation("io.github.electrostat-lab:snaploader:1.1.1-stable")
runtimeOnly("com.github.oshi:oshi-core:6.9.1")
implementation("org.joml:joml:1.10.8")
implementation("net.minestom:minestom:2025.10.31-1.21.10")
implementation("ch.qos.logback:logback-classic:1.5.18")
implementation("dev.hollowcube:polar:1.15.0")
compileOnly("it.unimi.dsi:fastutil:8.5.18")
}
tasks {
named<ShadowJar>("shadowJar") {
archiveBaseName.set("BlockPhysics")
mergeServiceFiles()
manifest {
attributes(mapOf("Main-Class" to "dev.emortal.Main"))
}
}
}
tasks {
build {
dependsOn(shadowJar)
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(25))
}
}