30 lines
584 B
Plaintext
30 lines
584 B
Plaintext
|
plugins {
|
||
|
java
|
||
|
kotlin("jvm") version "1.3.61"
|
||
|
}
|
||
|
|
||
|
group = "nl.voidcorp"
|
||
|
version = "1.0-SNAPSHOT"
|
||
|
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(kotlin("stdlib-jdk8"))
|
||
|
implementation("net.dv8tion:JDA:4.1.1_108")
|
||
|
testImplementation("junit", "junit", "4.12")
|
||
|
implementation("ch.qos.logback:logback-classic:1.2.3")
|
||
|
}
|
||
|
|
||
|
configure<JavaPluginConvention> {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
tasks {
|
||
|
compileKotlin {
|
||
|
kotlinOptions.jvmTarget = "1.8"
|
||
|
}
|
||
|
compileTestKotlin {
|
||
|
kotlinOptions.jvmTarget = "1.8"
|
||
|
}
|
||
|
}
|