-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (47 loc) · 1.33 KB
/
build.gradle
File metadata and controls
57 lines (47 loc) · 1.33 KB
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 'com.github.johnrengelman.shadow' version '4.0.4'
}
group 'fr.gravendev'
version '1.0-SNAPSHOT'
def jdaVersion = '4.0.0_39'
sourceCompatibility = 1.8
jar {
manifest {
attributes(
'Main-Class': 'fr.gravendev.multibot.Main'
)
}
}
shadowJar {
shadowJar.setArchiveName("MultiBot.jar")
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
archivesBaseName = 'MultiBot'
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
sourceSets {
main {
resources {
srcDirs = ["src/main/resources"]
}
}
}
dependencies {
implementation 'org.slf4j:slf4j-simple:1.7.25'
implementation "net.dv8tion:JDA:$jdaVersion"
implementation 'com.google.code.gson:gson:2.8.5'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '3.3.1'
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.16'
implementation group: 'net.coobird', name: 'thumbnailator', version: '0.4.8'
implementation 'com.sparkjava:spark-core:2.8.0'
implementation group: 'org.json', name: 'json', version: '20190722'
implementation 'com.electronwill.night-config:toml:3.6.0'
implementation 'com.github.HayateLaTech:OAuth2Discord:-SNAPSHOT'
}