Watchtower/build.gradle.kts

52 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-02-19 14:56:17 +01:00
plugins {
java
2020-03-16 16:16:07 +01:00
application
kotlin("jvm") version "1.3.70"
2020-02-19 14:56:17 +01:00
}
group = "nl.voidcorp"
version = "1.0-SNAPSHOT"
repositories {
jcenter()
}
2020-03-16 16:16:07 +01:00
fun DependencyHandlerScope.exposed(part: String) = implementation("org.jetbrains.exposed", part, "0.22.1")
2020-02-19 14:56:17 +01:00
dependencies {
implementation(kotlin("stdlib-jdk8"))
2020-03-16 16:16:07 +01:00
implementation("net.dv8tion:JDA:4.1.1_108") {
exclude(module = "opus-java")
}
2020-02-19 14:56:17 +01:00
testImplementation("junit", "junit", "4.12")
implementation("ch.qos.logback:logback-classic:1.2.3")
2020-03-16 16:16:07 +01:00
exposed("exposed-core")
exposed("exposed-dao")
exposed("exposed-jdbc")
implementation("org.xerial:sqlite-jdbc:3.30.1")
implementation("com.impossibl.pgjdbc-ng:pgjdbc-ng:0.8.3")
2020-02-19 14:56:17 +01:00
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
2020-03-16 16:16:07 +01:00
distTar {
archiveName = "watchtower.tar"
}
}
application {
applicationName = "watchtower"
mainClassName = "nl.voidcorp.watchtower.MainKt"
}