- Replaces alias(kotlinJvm) + alias(ktor) + application with id("recipe.jvm.server") + id("recipe.quality") — application plugin now applied by the convention
- Removes per-module dep lines (logback, ktor-serverCore, ktor-serverNetty, ktor-serverTestHost, kotlin-testJunit) — all bundled in recipe.jvm.server
- Keeps module-only config: group/version coordinates, application { mainClass.set } + applicationDefaultJvmArgs, implementation(projects.shared)
- File shrinks 23 -> 18 lines; no version literals leak
19 lines
378 B
Kotlin
19 lines
378 B
Kotlin
plugins {
|
|
id("recipe.jvm.server")
|
|
id("recipe.quality")
|
|
}
|
|
|
|
group = "dev.ulfrx.recipe"
|
|
version = "1.0.0"
|
|
|
|
application {
|
|
mainClass.set("dev.ulfrx.recipe.ApplicationKt")
|
|
|
|
val isDevelopment: Boolean = project.ext.has("development")
|
|
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.shared)
|
|
}
|