-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
44 lines (40 loc) · 1.2 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
plugins {
id 'maven-publish'
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
group 'dk.jensbot.kajbot4discord'
version '0.1.10'
mainClassName = 'dk.jensbot.kajbot4discord.Main'
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven { url "https://mymavenrepo.com/repo/yR4KRmqg7vStPOMMld41/" }
}
dependencies {
compile('org.slf4j:slf4j-log4j12:1.7.26')
compile('org.reflections:reflections:0.9.11')
compile('org.json:json:20180813')
compile('org.mdkt.compiler:InMemoryJavaCompiler:1.3.0')
compile('dk.jensbot.simplecfg:SimpleCfg:0.1.8')
compile('net.dv8tion:JDA:3.8.3_464') {
exclude module: 'opus-java'
}
compile 'org.eclipse.jetty:jetty-server:9.4.18.v20190429'
compile 'org.eclipse.jetty:jetty-servlet:9.4.18.v20190429'
}
shadowJar {
mergeServiceFiles 'META-INF/spring.*'
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
exclude "META-INF/LICENSE"
exclude "META-INF/LICENSE.*"
exclude "META-INF/NOTICE"
exclude "META-INF/NOTICE.*"
exclude "META-INF/maven/**"
exclude "META-INF/proguard/**"
archiveName = "${baseName}-${version}.jar"
}