Exit Full View

Glok / glok-demo-server / build.gradle.kts

// glok-demo-server

plugins {
    kotlin("jvm")
    application
}

kotlin {
    jvmToolchain(11)
}

application {
    mainClass.set("uk.co.nickthecoder.glok.demo.server.DemoServer")
}

dependencies {
    val ktorVersion: String by project
    implementation("io.ktor:ktor-server-core:$ktorVersion")
    implementation("io.ktor:ktor-server-netty:$ktorVersion")
    implementation("io.ktor:ktor-server-html-builder:$ktorVersion")
    implementation("org.slf4j:slf4j-nop:2.0.9") // To make ktor quiet!
    //implementation("io.ktor:ktor-server-status-pages:$ktorVersion")
    //implementation("io.ktor:ktor-server-websockets:$ktorVersion")
}