2018-10-10 23:54:01 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2018-10-30 20:38:44 +01:00
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.3.0'
|
2018-10-10 23:54:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2018-10-30 20:38:44 +01:00
|
|
|
/*
|
2018-10-10 23:54:01 +02:00
|
|
|
compile 'io.javalin:javalin:2.3.0'
|
2018-10-30 20:38:44 +01:00
|
|
|
*/
|
2018-10-10 23:54:01 +02:00
|
|
|
compile 'com.github.salomonbrys.kotson:kotson:2.5.0'
|
2018-10-14 14:16:14 +02:00
|
|
|
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-11-05 17:41:18 +01:00
|
|
|
compile group: 'org.luaj', name: 'luaj-jse', version: '3.0.1'
|
|
|
|
|
2018-10-10 23:54:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
2018-11-06 22:46:53 +01:00
|
|
|
task copyDependencies(type: Copy) {
|
|
|
|
delete 'libs'
|
|
|
|
from configurations.compile
|
|
|
|
into 'libs'
|
2018-10-10 23:54:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
2018-11-06 22:46:53 +01:00
|
|
|
|
|
|
|
archiveName = "UnityBot.jar"
|
|
|
|
}
|