-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (43 loc) · 1.06 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
plugins {
java
application
}
group = "de.pbz"
version = "1.0-SNAPSHOT"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
repositories {
mavenCentral()
maven {
url = uri("https://jitpack.io")
}
maven {
name = "arbjergDevSnapshots"
url = uri("https://maven.lavalink.dev/snapshots")
}
}
dependencies {
implementation("com.discord4j:discord4j-core:3.2.6")
implementation("dev.arbjerg:lavaplayer:2.2.1")
implementation("org.json:json:20231013")
implementation("org.slf4j:slf4j-api:2.0.12")
implementation("org.slf4j:slf4j-simple:2.0.12")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
}
application {
mainClass.set("de.pbz.rundfunk.Rundfunk")
}
tasks.jar {
manifest {
attributes["Main-Class"] = "de.pbz.rundfunk.Rundfunk"
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from({
configurations.runtimeClasspath.get()
.filter { it.name.endsWith("jar") }
.map { zipTree(it) }
})
}