33 lines
937 B
Plaintext
33 lines
937 B
Plaintext
plugins {
|
|
id("java")
|
|
kotlin("jvm") version "1.9.20"
|
|
kotlin("plugin.serialization") version "1.9.0"
|
|
}
|
|
|
|
group = "org.example"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(platform("org.junit:junit-bom:5.9.1"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
|
|
implementation("io.ktor:ktor-server-core-jvm:2.3.5")
|
|
implementation("io.ktor:ktor-server-cio-jvm:2.3.5")
|
|
implementation("io.ktor:ktor-server-status-pages-jvm:2.3.5")
|
|
implementation("io.ktor:ktor-server-default-headers-jvm:2.3.5")
|
|
implementation("io.ktor:ktor-client-core:2.3.5")
|
|
implementation("io.ktor:ktor-client-cio:2.3.5")
|
|
implementation("io.ktor:ktor-server-html-builder:2.3.5")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(11)
|
|
} |