plugins{ alias(libs.plugins.kotlin.jvm) alias(libs.plugins.ktor) } group = "center.sciprog.demo" version = "0.0.1" application { mainClass.set("serverMainKt") val isDevelopment: Boolean = project.ext.has("development") applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment") } repositories { mavenCentral() } dependencies { implementation(libs.kotlinx.html) // implementation(libs.kotlin.css) implementation(libs.logback.classic) implementation(libs.kotlinx.datetime) implementation(libs.ktor.server.core) implementation(libs.ktor.server.websockets) implementation(libs.ktor.server.html.builder) implementation(libs.ktor.server.call.logging) implementation(libs.ktor.server.cors) implementation(libs.ktor.server.host.common) implementation(libs.ktor.server.cio) implementation(libs.ktor.client.core) implementation(libs.ktor.client.cio) implementation(libs.ktor.client.websockets) // implementation("io.ktor:ktor-client-core:$ktorVersion") // implementation("io.ktor:ktor-client-cio:$ktorVersion") // implementation("io.ktor:ktor-client-core-jvm:3.0.1") // implementation("io.ktor:ktor-client-apache:3.0.1") testImplementation(libs.ktor.server.test.host) testImplementation(libs.kotlin.test.junit) }