-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (44 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
application
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "com.yuhtin.lauren"
version = "3.0.0-BETA"
application {
mainClass = "com.yuhtin.lauren.Startup"
}
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://maven.lavalink.dev/snapshots")
maven("https://maven.lavalink.dev/releases")
maven("https://maven.topi.wtf/releases")
}
dependencies {
implementation("net.dv8tion:JDA:5.1.0") {
exclude(group = "org.apache.logging.log4j")
}
implementation("com.google.guava:guava:31.0.1-jre")
implementation("org.yaml:snakeyaml:2.2")
implementation("io.github.cdimascio:dotenv-java:3.0.0")
implementation("org.mongodb:mongodb-driver-sync:4.11.0")
implementation("com.github.ben-manes.caffeine:caffeine:3.0.4")
implementation("dev.lavalink.youtube:v2:1.7.2")
implementation("dev.arbjerg:lavaplayer:0eaeee195f0315b2617587aa3537fa202df07ddc-SNAPSHOT")
implementation("com.github.TopiSenpai.LavaSrc:lavasrc:3.2.10")
implementation("com.google.code.gson:gson:2.10.1")
implementation("org.projectlombok:lombok:1.18.22")
annotationProcessor("org.projectlombok:lombok:1.18.22")
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
}
tasks.withType<ShadowJar> {
archiveClassifier.set("")
archiveFileName.set("bot.jar")
println("Shadowing ${project.name} to ${destinationDirectory.get()}")
}