2018-10-10 23:54:01 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.2.71'
|
|
|
|
id 'com.github.johnrengelman.shadow' version '4.0.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
group 'nl.voidcorp.dbot'
|
|
|
|
version '1.0-SNAPSHOT'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
|
|
compile 'net.dv8tion:JDA:3.7.1_421'
|
|
|
|
compile "ch.qos.logback:logback-classic:1.2.1"
|
|
|
|
compile 'io.javalin:javalin:2.3.0'
|
|
|
|
compile 'com.github.salomonbrys.kotson:kotson:2.5.0'
|
2018-10-14 14:16:14 +02:00
|
|
|
compile 'com.jagrosh:jda-utilities:2.1.4'
|
|
|
|
compile 'com.sedmelluq:lavaplayer:1.3.7'
|
|
|
|
compile 'com.sedmelluq:jda-nas:1.0.6'
|
2018-10-14 22:20:47 +02:00
|
|
|
compile 'khttp:khttp:0.1.0'
|
2018-10-10 23:54:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
baseName = 'UnityBot'
|
|
|
|
classifier = null
|
|
|
|
version = null
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'nl.voidcorp.dbot.UnityBotKt'
|
|
|
|
}
|
|
|
|
}
|