kodeshare/build.gradle.kts

39 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 {
2020-05-27 14:21:34 +02:00
kotlin("jvm") version "1.3.72"
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"
application {
2020-05-27 14:21:34 +02:00
mainClassName = "moe.kageru.kodeshare.KodeshareKt"
2019-09-19 22:04:23 +02:00
}
2020-05-27 14:21:34 +02:00
val ktorVersion = "1.3.1"
2019-09-19 22:04:23 +02:00
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")
2020-05-27 14:21:34 +02:00
implementation("org.jetbrains.exposed:exposed:0.17.7")
implementation("org.jetbrains:kotlin-css-jvm:1.0.0-pre.104-kotlin-1.3.72")
implementation("org.mariadb.jdbc:mariadb-java-client:2.6.0")
implementation("com.uchuhimo:konf-core:0.22.1")
2019-09-19 22:04:23 +02:00
}
tasks.withType<KotlinCompile> {
2020-05-27 14:21:34 +02:00
kotlinOptions.jvmTarget = "11"
2019-09-22 18:26:28 +02:00
}