46 lines
1,016 B
Groovy
46 lines
1,016 B
Groovy
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'
|
|
compile 'com.jagrosh:jda-utilities:2.1.4'
|
|
compile 'com.sedmelluq:lavaplayer:1.3.7'
|
|
compile 'com.sedmelluq:jda-nas:1.0.6'
|
|
compile 'khttp:khttp:0.1.0'
|
|
}
|
|
|
|
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'
|
|
}
|
|
} |