import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.3.50" id("com.github.johnrengelman.shadow") version "5.1.0" apply true 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() maven { url = uri("https://dl.bintray.com/kotlin/ktor") } maven { url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers") } } dependencies { implementation(kotlin("stdlib-jdk8")) implementation("io.ktor:ktor-server-netty:$ktorVersion") implementation("io.ktor:ktor-locations:$ktorVersion") implementation("io.ktor:ktor-server-core:$ktorVersion") implementation("io.ktor:ktor-html-builder:$ktorVersion") implementation("org.jetbrains.exposed:exposed:0.17.3") implementation("org.jetbrains:kotlin-css-jvm:1.0.0-pre.83-kotlin-1.3.50") implementation("org.mariadb.jdbc:mariadb-java-client:2.4.4") implementation("com.uchuhimo:konf-core:0.20.0") } tasks.withType { kotlinOptions.jvmTarget = "1.8" }