-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
71 lines (52 loc) · 1.49 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
65
66
67
68
69
70
71
plugins {
java
// ShadowJar (https://github.com/johnrengelman/shadow/releases)
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "net.endercube"
version = "1.0.0"
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
// Minestom
implementation("net.minestom:minestom-snapshots:dba90a461b")
// Polar
implementation("dev.hollowcube:polar:1.11.3")
// GoldenStack/window
implementation("com.github.GoldenStack:window:a2feac67eb")
// Kyori stuff (Adventure)
implementation("net.kyori:adventure-text-serializer-plain:4.17.0")
implementation("net.kyori:adventure-text-minimessage:4.17.0")
implementation("net.kyori:adventure-text-serializer-ansi:4.17.0")
// Configuration API
implementation("org.spongepowered:configurate-hocon:4.1.2")
// Jedis (Redis lib)
implementation("redis.clients:jedis:5.2.0")
// Discord lib
implementation("club.minnced:discord-webhooks:0.8.4")
// Logger
implementation("ch.qos.logback:logback-classic:1.5.12")
// Apache Commons Lang
implementation("org.apache.commons:commons-lang3:3.17.0")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
jar {
manifest {
attributes["Main-Class"] = "net.endercube.Main"
}
}
build {
dependsOn(shadowJar)
}
shadowJar {
mergeServiceFiles()
archiveClassifier.set("") // Prevent the -all suffix
}
}