Julius de Jeu
35d314df39
Make np command more organised and add lööp and stop commands make bot leave channel when it is alone
48 lines
959 B
Groovy
48 lines
959 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.kotlin.jvm' version '1.3.0'
|
|
}
|
|
|
|
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'
|
|
compile 'com.sedmelluq:lavaplayer:1.3.7'
|
|
compile 'com.sedmelluq:jda-nas:1.0.6'
|
|
compile 'khttp:khttp:0.1.0'
|
|
compile group: 'org.luaj', name: 'luaj-jse', version: '3.0.1'
|
|
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
task copyDependencies(type: Copy) {
|
|
delete 'libs'
|
|
from configurations.compile
|
|
into 'libs'
|
|
}
|
|
|
|
jar {
|
|
|
|
archiveName = "UnityBot.jar"
|
|
}
|