27 lines
616 B
Kotlin
27 lines
616 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.1.10"
|
|
kotlin("plugin.serialization") version "2.1.10"
|
|
}
|
|
|
|
group = "com.subman"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
// maven { setUrl("https://maven.aliyun.com/repository/public") }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation("com.charleskorn.kaml:kaml:0.72.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
|
|
implementation("io.ktor:ktor-client-core:3.1.1")
|
|
implementation("io.ktor:ktor-client-cio:3.1.1")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
} |