-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
50 lines (39 loc) · 1.27 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
plugins {
id 'java'
id("com.github.johnrengelman.shadow").version("4.0.3")
id 'application'
}
group 'de.thebotdev'
version '1.0-DEV'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: GSON_VERSION
compile group: 'org.reflections', name: 'reflections', version: REFLECTIONS_VERSION
compile group: 'org.discordbots', name: 'DBL-Java-Library', version: DISCORD_BOTSVERSION
compile group: 'io.sentry', name: 'sentry', version: SENTRY_VERSION
compile group: 'mysql', name: 'mysql-connector-java', version: MYSQL_CONNECTOR_VERSION
compile(group: 'net.dv8tion', name: 'JDA', version: JDA_VERSION) {
exclude module: 'opus-java'
}
compile group: 'com.jagrosh', name: 'jda-utilities-commons', version: JDA_UTILITIES_VERSION
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
application {
mainClassName = "de.thebotdev.rulesbot.Main"
}
shadowJar {
baseName = 'rulesbot'
classifier = null
version = null
}
shadowJar {
manifest {
attributes 'Main-Class': 'de.thebotdev.rulesbot.Main'
}
}