-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
executable file
·54 lines (42 loc) · 1.1 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
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "dev.emortal.minestom.parkourtag"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://repo.emortal.dev/snapshots")
maven("https://repo.emortal.dev/releases")
maven("https://jitpack.io")
maven("https://packages.confluent.io/maven/")
}
dependencies {
implementation("dev.emortal.minestom:game-sdk:884345c")
implementation("dev.hollowcube:polar:1.11.1")
implementation("net.kyori:adventure-text-minimessage:4.16.0")
implementation("com.github.stephengold:Libbulletjme:21.2.1")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
shadowJar {
mergeServiceFiles()
manifest {
attributes(
"Main-Class" to "dev.emortal.minestom.parkourtag.Main",
"Multi-Release" to true
)
}
}
withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
build {
dependsOn(shadowJar)
}
}