34 lines
1,006 B
Plaintext
34 lines
1,006 B
Plaintext
plugins {
|
|
alias(libs.plugins.kotlin.jvm)
|
|
alias(ktorLibs.plugins.ktor)
|
|
kotlin("plugin.serialization") version "2.0.0"
|
|
}
|
|
|
|
group = "com.oliver.kidio.backend"
|
|
version = "1.0.0-SNAPSHOT"
|
|
|
|
application {
|
|
mainClass = "io.ktor.server.netty.EngineMain"
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(ktorLibs.server.config.yaml)
|
|
implementation(ktorLibs.server.core)
|
|
implementation(ktorLibs.server.netty)
|
|
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")
|
|
testImplementation(kotlin("test"))
|
|
testImplementation(ktorLibs.server.testHost)
|
|
} |