-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (46 loc) · 1.53 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
plugins {
id 'application'
//Shading the jar file
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
// Required for Shading of jar file
mainClassName = 'com.koolie.bot.richter.Richter'
group 'com.koolie.bot'
version '1.0'
def jdaVersion = '5.0.0-beta.5'
sourceCompatibility = targetCompatibility = 17
repositories {
mavenCentral()
jcenter()
maven { url "https://m2.dv8tion.net/releases" }
maven { url 'https://jitpack.io' }
}
dependencies {
// JDA Library
implementation("net.dv8tion:JDA:$jdaVersion"){
exclude group: 'club.minnced', module: 'opus-java'
}
// Logger
implementation('ch.qos.logback:logback-classic:1.2.11')
// Spotify Web API
implementation 'se.michaelthelin.spotify:spotify-web-api-java:7.1.0'
// Fork of LavaPlayer since original LavaPlayer is unmaintained
implementation 'dev.arbjerg:lavaplayer:2.0.0'
// Uses Native audio system
implementation 'com.sedmelluq:jda-nas:1.1.0'
// Sentry
implementation 'io.sentry:sentry:5.7.4'
// Music Filters
implementation 'com.github.natanbc:lavadsp:0.7.7'
// Eval
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.10'
// Class graph
implementation 'io.github.classgraph:classgraph:4.8.146'
// Database
implementation 'org.postgresql:postgresql:42.3.4'
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
}
shadowJar.setProperty("archiveFileName", "Richter.jar")
compileJava.options.encoding = 'UTF-8'