40 lines
716 B
Groovy
Executable File
40 lines
716 B
Groovy
Executable File
plugins {
|
|
id'application'
|
|
id'com.github.johnrengelman.shadow' version '4.0.4'
|
|
}
|
|
|
|
|
|
version '0.8'
|
|
|
|
//def jdaVersion = '3.8.3_460'
|
|
def jdaVersion = '4.2.0_168'
|
|
|
|
|
|
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.7.25"
|
|
compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'
|
|
compile "org.json:json:20141113"
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
//mainClassName = 'core.Main'
|