-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
65 lines (50 loc) · 1.3 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
58
59
60
61
62
63
64
65
plugins {
/* Languages */
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
/* Shadow JAR */
id 'com.github.johnrengelman.shadow' version '8.1.1'
/* Linter */
id "org.jlleitschuh.gradle.ktlint" version "12.1.1"
}
group 'com.maxwowo.bot'
version '1.0'
repositories {
jcenter()
maven {
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
/* Discord API */
implementation 'com.jagrosh:jda-utilities:3.0.5'
implementation 'net.dv8tion:JDA:4.4.1_353'
/* Kotlin */
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.jetbrains.kotlin:kotlin-reflect'
/* Music player */
implementation 'com.sedmelluq:lavaplayer:1.3.78'
/* Configuration */
implementation 'com.uchuhimo:konf:1.1.2'
/* Logging */
implementation 'ch.qos.logback:logback-classic:1.5.6'
implementation 'io.github.microutils:kotlin-logging:3.0.5'
/* Error tracking */
implementation 'io.sentry:sentry:7.9.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
shadowJar {
manifest {
attributes 'Main-Class': 'bot.LauncherKt'
}
}