29 lines
563 B
Groovy
29 lines
563 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group = 'com.gnarly'
|
|
version = '1.0.0'
|
|
mainClassName = 'com.gnarly.ld.Main'
|
|
|
|
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 {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile ('net.dv8tion:JDA:3.8.3_464') {
|
|
exclude module: 'opus-java'
|
|
}
|
|
}
|