Last active
October 31, 2021 08:51
-
-
Save aqua30/d4a8bc69684a93727315bf1be6dddd26 to your computer and use it in GitHub Desktop.
Kotlin version of gradle file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val ktor_version: String by project | |
val kotlin_version: String by project | |
val logback_version: String by project | |
plugins { | |
application | |
kotlin("jvm") version "1.5.31" | |
id("org.jetbrains.kotlin.plugin.serialization") version "1.5.31" | |
} | |
group = "com.aqua30" | |
version = "0.0.1" | |
application { | |
mainClass.set("io.ktor.server.netty.EngineMain") | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation("io.ktor:ktor-server-core:$ktor_version") | |
implementation("io.ktor:ktor-serialization:$ktor_version") | |
implementation("io.ktor:ktor-server-host-common:$ktor_version") | |
implementation("io.ktor:ktor-server-netty:$ktor_version") | |
implementation("ch.qos.logback:logback-classic:$logback_version") | |
testImplementation("io.ktor:ktor-server-tests:$ktor_version") | |
testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlin_version") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment