37 lines
637 B
Kotlin
37 lines
637 B
Kotlin
@file:Suppress("UnstableApiUsage")
|
|
|
|
plugins {
|
|
alias(libs.plugins.jvm)
|
|
application
|
|
kotlin("plugin.serialization") version embeddedKotlinVersion
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.bundles.koin)
|
|
implementation(libs.bundles.ktor)
|
|
implementation(libs.bundles.kotlinx)
|
|
implementation(libs.bundles.logging)
|
|
}
|
|
|
|
testing {
|
|
suites {
|
|
val test by getting(JvmTestSuite::class) {
|
|
useKotlinTest("1.9.22")
|
|
}
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = "org.example.AppKt"
|
|
}
|