ktor-reactive-demo/build.gradle.kts

39 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2024-08-19 22:34:36 +03:00
plugins {
2024-08-20 10:18:57 +03:00
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.ktor)
2024-08-19 22:34:36 +03:00
}
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 {
2024-08-20 10:18:57 +03:00
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)
2024-08-19 22:34:36 +03:00
}