-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (38 loc) · 861 Bytes
/
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.7.20'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
var mainClass = 'idk.bluecross.GBot.MainKt'
group = 'idk.bluecross'
version = '1.0-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { // <----- FOR LAVAPLAYER
url 'https://m2.dv8tion.net/releases'
}
jcenter()
}
dependencies {
implementation 'com.sedmelluq:lavaplayer:1.3.77'
implementation 'com.discord4j:discord4j-core:3.2.3'
implementation 'ch.qos.logback:logback-classic:1.4.4'
}
tasks.create("stage") {
dependsOn("installDist")
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
application {
mainClassName = mainClass
}
jar {
manifest {
attributes(
'Main-Class': mainClass
)
}
}