41 lines
1.0 KiB
Kotlin
41 lines
1.0 KiB
Kotlin
val kotlin_version: String by project
|
|
val logback_version: String by project
|
|
|
|
plugins {
|
|
kotlin("jvm") version "2.1.10"
|
|
id("io.ktor.plugin") version "3.2.2"
|
|
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.10"
|
|
}
|
|
|
|
group = "com.nano"
|
|
version = "0.0.1"
|
|
|
|
application {
|
|
mainClass = "com.nano.ApplicationKt"
|
|
}
|
|
|
|
repositories {
|
|
maven("https://jitpack.io")
|
|
mavenCentral()
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("io.ktor:ktor-server-core")
|
|
implementation("io.ktor:ktor-server-auth")
|
|
implementation("io.ktor:ktor-server-call-logging")
|
|
implementation("io.ktor:ktor-server-content-negotiation")
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json")
|
|
implementation("io.ktor:ktor-server-netty")
|
|
implementation("ch.qos.logback:logback-classic:$logback_version")
|
|
implementation("com.github.bitfireAT:dav4jvm:2.2.1")
|
|
|
|
testImplementation("io.ktor:ktor-server-test-host")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
|
}
|