-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
48 lines (38 loc) · 1.36 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
kotlin("jvm") version("2.0.0")
val dgt = "2.5.0"
id("dev.deftu.gradle.tools") version(dgt)
id("dev.deftu.gradle.tools.bloom") version(dgt)
id("dev.deftu.gradle.tools.shadow") version(dgt)
}
repositories {
maven("https://maven.deftu.dev/internal-exposed")
maven("https://maven.lavalink.dev/releases")
maven("https://m2.dv8tion.net/releases")
}
dependencies {
shade(implementation("dev.deftu:ezrique-core:${libs.versions.ezrique.core.get()}")!!)
// Audio management
shade(implementation("dev.arbjerg:lavaplayer:${libs.versions.lavaplayer.get()}")!!)
// Kord voice
shade(implementation("dev.kord:kord-core-voice:${libs.versions.kord.get()}")!!)
shade(implementation("dev.kord:kord-voice:${libs.versions.kord.get()}")!!)
// Audio mixing
shade(implementation("dev.deftu:pcm-audio-utils:${libs.versions.pcm.audio.utils.get()}")!!)
// YouTube audio playback
shade(implementation("dev.lavalink.youtube:common:${libs.versions.lavalink.youtube.get()}")!!)
}
tasks {
jar {
enabled = false
manifest.attributes(
"Main-Class" to "dev.deftu.ezrique.voice.EzriqueVoice"
)
}
withType<ShadowJar> {
archiveFileName.set("${projectData.name}.jar")
archiveClassifier.set("")
}
}