-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.73 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
plugins {
id 'java'
id 'application'
id "com.github.johnrengelman.shadow" version "7.1.2"
}
group 'me.rohank05'
version '1.0.0'
mainClassName = "me.rohank05.Bot"
repositories {
mavenCentral()
maven { url 'https://m2.dv8tion.net/releases' }
maven { url "https://m2.chew.pro/snapshots" }
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
//Bot stuff
implementation (group: 'net.dv8tion', name: 'JDA', version: '5.0.0-beta.2'){
exclude module: 'opus-java'
}
implementation group: 'com.github.walkyst', name: 'lavaplayer-fork', version: '1.3.99.2'
implementation group: 'com.github.natanbc', name: 'lavadsp', version: '0.7.7'
implementation group: 'me.rohank05', name: 'lavadsp-extended', version: '0.0.2'
implementation group: 'io.github.cdimascio', name: 'dotenv-java', version: '2.3.1'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.4.5'
implementation group: 'com.sedmelluq', name: 'jda-nas', version: '1.1.0'
implementation group: 'me.rohank05', name: 'Spotify-Source-Manager', version: 'master-SNAPSHOT'
implementation group: 'pw.chew', name: 'jda-chewtils', version: '2.0-SNAPSHOT'
implementation group: 'org.mongodb', name: 'mongo-java-driver', version: '3.12.11'
}
test {
useJUnitPlatform()
}
shadowJar {
def impl = project.configurations.implementation
impl.canBeResolved(true)
configurations = [impl]
archiveClassifier.set("")
}
jar {
manifest {
attributes(
'Main-Class': 'me.rohank05.Bot'
)
}
}
compileJava.options.encoding = 'UTF-8'