31 lines
703 B
Kotlin
31 lines
703 B
Kotlin
import org.gradle.kotlin.dsl.provideDelegate
|
|
|
|
plugins {
|
|
kotlin("jvm") version "2.4.0"
|
|
}
|
|
|
|
group = "com.shr4pnel"
|
|
version = "1.0-SNAPSHOT"
|
|
val ktor_version = "3.5.2"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation ("io.ktor:ktor-client-core:${ktor_version}")
|
|
implementation("io.ktor:ktor-client-cio:${ktor_version}")
|
|
implementation("io.ktor:ktor-network:${ktor_version}")
|
|
implementation("io.ktor:ktor-network-tls:${ktor_version}")
|
|
implementation("io.github.oshai:kotlin-logging-jvm:8.0.4")
|
|
implementation("ch.qos.logback:logback-classic:1.6.1")
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(23)
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
} |