37 lines
572 B
Groovy
37 lines
572 B
Groovy
plugins {
|
|
id'application'
|
|
id'com.github.johnrengelman.shadow' version '4.0.4'
|
|
}
|
|
|
|
|
|
version '0.2'
|
|
|
|
def jdaVersion = '3.8.1_447'
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
mainClassName = 'core.Main'
|
|
|
|
|
|
repositories {
|
|
jcenter()
|
|
// Required for OkHTTP 3.13.0-SNAPSHOT
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
}
|
|
|
|
dependencies {
|
|
compile "net.dv8tion:JDA:$jdaVersion"
|
|
compile "org.slf4j:slf4j-simple:1.6.1"
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
//mainClassName = 'core.Main'
|