kodeshare/build.gradle.kts

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-09-19 22:04:23 +02:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.50"
2019-09-29 08:17:31 +02:00
id("com.github.johnrengelman.shadow") version "5.1.0" apply true
2019-09-19 22:04:23 +02:00
application
}
group = "moe.kageru"
version = "0.1.0"
val mainClass = "moe.kageru.kodeshare.KodeshareKt"
application {
mainClassName = mainClass
}
val ktorVersion = "1.2.4"
repositories {
mavenCentral()
jcenter()
2019-09-22 18:26:28 +02:00
maven { url = uri("https://dl.bintray.com/kotlin/ktor") }
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers") }
2019-09-19 22:04:23 +02:00
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("io.ktor:ktor-server-netty:$ktorVersion")
implementation("io.ktor:ktor-locations:$ktorVersion")
2019-09-22 18:26:28 +02:00
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-html-builder:$ktorVersion")
2019-09-19 22:04:23 +02:00
implementation("org.jetbrains.exposed:exposed:0.17.3")
2019-09-22 18:26:28 +02:00
implementation("org.jetbrains:kotlin-css-jvm:1.0.0-pre.83-kotlin-1.3.50")
2019-09-19 22:04:23 +02:00
implementation("org.mariadb.jdbc:mariadb-java-client:2.4.4")
2019-09-29 08:17:31 +02:00
implementation("com.uchuhimo:konf-core:0.20.0")
2019-09-19 22:04:23 +02:00
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
2019-09-22 18:26:28 +02:00
}