Last active
November 19, 2021 10:45
-
-
Save vaibhavgoyal09/2b7bca10d397136a989f946c9acd12e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
| 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" | |
| } | |
| group = "com.vaibhav" | |
| version = "0.0.1" | |
| application { | |
| mainClass.set("com.vaibhav.ApplicationKt") | |
| } | |
| repositories { | |
| mavenCentral() | |
| } | |
| tasks.create("stage") { | |
| dependsOn("installDist") | |
| } | |
| dependencies { | |
| implementation("io.ktor:ktor-server-core:$ktor_version") | |
| implementation("io.ktor:ktor-websockets:$ktor_version") | |
| implementation("io.ktor:ktor-gson:$ktor_version") | |
| implementation("io.ktor:ktor-locations:$ktor_version") | |
| implementation("io.ktor:ktor-server-sessions:$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