-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (44 loc) · 1.2 KB
/
build.gradle
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
plugins {
id 'java'
id 'application'
}
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
mainClassName = 'Application'
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
name "arbjergDevSnapshots"
url "https://maven.lavalink.dev/snapshots"
}
}
dependencies {
implementation 'net.dv8tion:JDA:5.0.0-beta.20'
implementation 'dev.arbjerg:lavaplayer:afec211f05c9dcf0b6ee44276a02f0316ea2458a-SNAPSHOT'
implementation "com.github.TopiSenpai.LavaSrc:lavasrc:3.2.0"
implementation "com.github.topi314.lavasrc:lavasrc:4.0.1"
implementation "com.github.topi314.lavasrc:lavasrc-protocol:4.0.1"
implementation 'com.moandjiezana.toml:toml4j:0.7.2'
implementation 'ch.qos.logback:logback-classic:1.5.2'
}
jar {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class' : 'bot.main.Application'
}
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion '8.0'
distributionUrl distributionUrl.replace("bin", "all")
}