LernApp/build.gradle.kts

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2026-09-02 13:28:58 +00:00
plugins {
alias(libs.plugins.kotlin.jvm)
alias(ktorLibs.plugins.ktor)
kotlin("plugin.serialization") version "2.0.0"
2026-09-02 13:28:58 +00:00
}
group = "com.oliver.kidio.backend"
version = "1.0.0-SNAPSHOT"
application {
mainClass = "io.ktor.server.netty.EngineMain"
}
kotlin {
jvmToolchain(21)
}
2026-09-02 13:28:58 +00:00
dependencies {
implementation(ktorLibs.server.config.yaml)
implementation(ktorLibs.server.core)
implementation(ktorLibs.server.netty)
// JWT Authentication (NEU)
implementation("io.ktor:ktor-server-auth")
implementation("io.ktor:ktor-server-auth-jwt")
2026-09-02 13:28:58 +00:00
implementation(libs.logback.classic)
// JSON-Unterstützung und Serialization
implementation("io.ktor:ktor-server-content-negotiation-jvm")
implementation("io.ktor:ktor-serialization-kotlinx-json-jvm")
// postgres
implementation("org.postgresql:postgresql:42.7.3")
implementation("org.jetbrains.exposed:exposed-core:0.50.0")
implementation("org.jetbrains.exposed:exposed-dao:0.50.0")
implementation("org.jetbrains.exposed:exposed-jdbc:0.50.0")
2026-09-02 13:28:58 +00:00
testImplementation(kotlin("test"))
testImplementation(ktorLibs.server.testHost)
// redis
implementation("redis.clients:jedis:5.1.2")
implementation("org.jetbrains.exposed:exposed-java-time:0.50.0")
}