mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
plugins {
|
|
kotlin("jvm")
|
|
kotlin("plugin.serialization").version("2.0.0")
|
|
}
|
|
|
|
group = project.rootProject.group
|
|
version = project.rootProject.version
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
val ktorVersion = "2.3.12"
|
|
|
|
dependencies {
|
|
implementation("io.ktor:ktor-server-core:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-netty:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-websockets:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-swagger:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-content-negotiation:$ktorVersion")
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-cors:$ktorVersion")
|
|
implementation("io.ktor:ktor-server-swagger:$ktorVersion")
|
|
|
|
implementation("io.swagger.codegen.v3:swagger-codegen-generators:1.0.50")
|
|
|
|
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0-RC")
|
|
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-reflect
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect:2.0.0")
|
|
|
|
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
|
|
implementation("ch.qos.logback:logback-classic:1.5.6")
|
|
|
|
implementation(project(":common"))
|
|
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
} |