plugins { id "java" id "application" id 'org.jetbrains.kotlin.jvm' id 'kotlinx-serialization' id 'com.github.johnrengelman.shadow' version '4.0.3' } group 'org.jetbrains.ktor' version '1.0-SNAPSHOT' mainClassName = "MainKt" repositories { mavenCentral() jcenter() maven { url "https://kotlin.bintray.com/kotlinx" } } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8" compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.9.1" compile "io.ktor:ktor-server-netty:$ktor_version" compile "io.ktor:ktor-html-builder:$ktor_version" compile "com.github.jasync-sql:jasync-postgresql:0.9.39" compile "io.reactiverse:reactive-pg-client:0.11.3" compile 'io.vertx:vertx-lang-kotlin-coroutines:3.7.0' } compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } shadowJar { baseName = "bench" classifier = null version = null }