Added fatJar
This commit is contained in:
parent
5a3344bcc0
commit
9854be5949
1 changed files with 12 additions and 1 deletions
13
build.gradle
13
build.gradle
|
@ -9,10 +9,21 @@ mainClassName = 'com.gnarly.ld.Main'
|
||||||
|
|
||||||
sourceCompatibility = 1.12
|
sourceCompatibility = 1.12
|
||||||
|
|
||||||
|
task fatJar(type: Jar) {
|
||||||
|
manifest {
|
||||||
|
attributes 'Main-Class': 'com.gnarly.ld.Main'
|
||||||
|
}
|
||||||
|
baseName = project.name + '-all'
|
||||||
|
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||||
|
with jar
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile group: 'net.dv8tion', name: 'JDA', version: '3.8.3_464'
|
compile ('net.dv8tion:JDA:3.8.3_464') {
|
||||||
|
exclude module: 'opus-java'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue