ktor-reactive-demo/build.gradle.kts

39 lines
1.3 KiB
Plaintext

plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.ktor)
}
group = "center.sciprog"
version = "0.0.1"
application {
mainClass.set("center.sciprog.ktor.sample.ApplicationKt")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/kotlin-js-wrappers") }
}
dependencies {
implementation(libs.ktor.server.core.jvm)
implementation(libs.ktor.server.websockets.jvm)
implementation(libs.ktor.server.host.common.jvm)
implementation(libs.ktor.server.status.pages.jvm)
implementation(libs.ktor.server.cors.jvm)
implementation(libs.ktor.server.content.negotiation.jvm)
implementation(libs.ktor.serialization.kotlinx.json.jvm)
implementation(libs.ktor.server.html.builder.jvm)
implementation(libs.kotlinx.html.jvm)
implementation(libs.kotlin.css.jvm)
implementation(libs.ktor.server.cio.jvm)
implementation(libs.logback.classic)
implementation(libs.ktor.server.config.yaml)
testImplementation(libs.ktor.server.test.host.jvm)
testImplementation(libs.kotlin.test.junit)
}