-
Notifications
You must be signed in to change notification settings - Fork 48
/
build.gradle
56 lines (43 loc) · 1.06 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
group 'Moosic'
version '5.3'
mainClassName = "co.moosic.music.Login"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
//Lavaplayer
compile group: 'com.sedmelluq', name: 'lavaplayer', version: '1.3.50'
//Nas for audio sending
compile group: 'com.sedmelluq', name: 'jda-nas', version: '1.1.0'
//JDA
compile group: 'net.dv8tion', name: 'JDA', version: '4.2.0_183'
//Configuration builder
compile group: 'com.github.kaaz', name: 'configurationbuilder', version: '0.4'
//Logback
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
}
compileJava {
classpath = sourceSets.main.compileClasspath
options.encoding = 'UTF-8'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
build.dependsOn shadowJar
artifacts {
archives shadowJar
}
jar {
baseName 'moosic'
}
wrapper {
gradleVersion = "6.5.1"
}