30 lines
1.1 KiB
Kotlin
30 lines
1.1 KiB
Kotlin
|
|
plugins {
|
||
|
|
kotlin("jvm")
|
||
|
|
id("io.ktor.plugin")
|
||
|
|
}
|
||
|
|
|
||
|
|
group = "meatbag"
|
||
|
|
version = "1.0-SNAPSHOT"
|
||
|
|
|
||
|
|
application {
|
||
|
|
mainClass.set("meatbag.backend.ApplicationKt")
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation(project(":common"))
|
||
|
|
implementation("io.ktor:ktor-server-core-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-server-netty-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-server-websockets-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-server-content-negotiation-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-server-cors-jvm:2.3.11")
|
||
|
|
implementation("io.ktor:ktor-server-call-logging-jvm:2.3.11")
|
||
|
|
implementation("ch.qos.logback:logback-classic:1.4.14")
|
||
|
|
|
||
|
|
// Test dependencies including Ktor client plugins for testApplication
|
||
|
|
testImplementation("io.ktor:ktor-server-tests-jvm:2.3.11")
|
||
|
|
testImplementation("io.ktor:ktor-client-content-negotiation-jvm:2.3.11")
|
||
|
|
testImplementation("io.ktor:ktor-client-websockets-jvm:2.3.11")
|
||
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:1.9.23")
|
||
|
|
}
|