30 lines
794 B
Plaintext
30 lines
794 B
Plaintext
plugins {
|
|
kotlin("jvm") version "2.1.20"
|
|
kotlin("plugin.serialization") version "2.1.20"
|
|
}
|
|
|
|
group = "org.example"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation("io.ktor:ktor-server-core:2.3.0")
|
|
implementation("io.ktor:ktor-server-netty:2.3.0")
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:2.3.0")
|
|
implementation("io.ktor:ktor-server-content-negotiation:2.3.0")
|
|
implementation("io.ktor:ktor-server-auth-jwt:2.3.0")
|
|
implementation("com.auth0:java-jwt:4.4.0")
|
|
implementation("ch.qos.logback:logback-classic:1.4.5")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(23)
|
|
} |