discord-kagebot/build.gradle.kts

37 lines
935 B
Plaintext
Raw Normal View History

2019-06-06 20:02:47 +02:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.31"
2019-06-08 11:07:52 +02:00
application
}
application {
2019-06-15 12:55:47 +02:00
mainClassName = "moe.kageru.kagebot.KagebotKt"
2019-06-06 20:02:47 +02:00
}
group = "moe.kageru.kagebot"
version = "0.1"
repositories {
mavenCentral()
}
2019-06-08 21:52:47 +02:00
val test by tasks.getting(Test::class) {
useJUnitPlatform { }
}
2019-06-06 20:02:47 +02:00
dependencies {
2019-07-07 09:53:04 +02:00
implementation("com.moandjiezana.toml:toml4j:0.7.2")
2019-06-08 11:07:52 +02:00
implementation(kotlin("stdlib-jdk8"))
implementation("org.javacord:javacord:3.0.4")
2019-06-08 21:52:47 +02:00
testImplementation("io.kotlintest:kotlintest-runner-junit5:3.3.2")
2019-07-07 09:53:04 +02:00
testImplementation("io.mockk:mockk:1.9.3")
2019-06-09 18:41:51 +02:00
// these two are needed to access javacord internals (such as reading from sent embeds during tests)
testImplementation("org.javacord:javacord-core:3.0.4")
2019-07-07 09:53:04 +02:00
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.9.9")
2019-06-06 20:02:47 +02:00
}
tasks.withType<KotlinCompile> {
2019-06-08 11:07:52 +02:00
kotlinOptions.jvmTarget = "1.8"
2019-06-06 20:02:47 +02:00
}