Files
ktor-sample-coolify/build.gradle.kts
Julien Lengrand-Lambert 28124d474d Create demo repo
2024-06-10 14:24:14 +02:00

32 lines
844 B
Kotlin

val kotlin_version: String by project
val logback_version: String by project
plugins {
kotlin("jvm") version "2.0.0"
id("io.ktor.plugin") version "2.3.11"
}
group = "quest.lengrand"
version = "0.0.1"
application {
mainClass.set("io.ktor.server.netty.EngineMain")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("ch.qos.logback:logback-classic:$logback_version")
implementation("io.ktor:ktor-server-config-yaml")
testImplementation("io.ktor:ktor-server-tests-jvm")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
}