nelle-observer/backend/build.gradle.kts

43 lines
1.5 KiB
Text
Raw Normal View History

2024-09-15 19:50:24 -06:00
val ktorVersion: String by project
plugins {
application
kotlin("jvm") version "2.0.10"
id("io.ktor.plugin") version "2.3.12"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.22"
}
group = "observer.nelle"
version = "0.1.0-DEV"
application {
2024-09-15 21:19:50 -06:00
mainClass = "observer.nelle.nelleObserverBackend.ApplicationKt"
2024-09-15 19:50:24 -06:00
}
repositories {
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/ktor/eap") }
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm")
implementation("io.ktor:ktor-server-host-common-jvm")
implementation("io.ktor:ktor-server-content-negotiation-jvm")
implementation("io.ktor:ktor-serialization-kotlinx-json-jvm")
implementation("io.ktor:ktor-server-cors:$ktorVersion")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("io.ktor:ktor-server-config-yaml:$ktorVersion")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-cio:$ktorVersion")
implementation("io.ktor:ktor-client-auth:$ktorVersion")
implementation("io.ktor:ktor-server-rate-limit:$ktorVersion")
2024-09-15 19:50:24 -06:00
implementation("io.github.oshai:kotlin-logging-jvm:5.1.4")
implementation("org.slf4j:slf4j-simple:2.0.16")
testImplementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
testImplementation("io.ktor:ktor-server-tests-jvm")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
testImplementation("com.jayway.jsonpath:json-path:2.9.0")
testImplementation(kotlin("test"))
}