-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
36 lines (31 loc) · 906 Bytes
/
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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
mainClassName = 'com.diamondfire.suggestionsbot.SuggestionsBot'
group 'com.diamondfire.suggestionsbot'
repositories {
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
maven { url 'https://jitpack.io' }
}
dependencies {
compile ('net.dv8tion:JDA:4.2.0_251') {
exclude module: 'opus-java'
}
compile 'ch.qos.logback:logback-classic:1.2.3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.13'
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'com.diamondfire.suggestionsbot.SuggestionsBot'
)
}
}