-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (32 loc) · 975 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
plugins {
kotlin("jvm") version "1.9.21"
application
}
group = "io.ktor-test"
version = "1.0-SNAPSHOT"
repositories {
mavenLocal()
mavenCentral()
}
application {
mainClass = "io.ktor.perf.MainKt"
}
val ktor_version = "3.0.0-SNAPSHOT" // "2.3.7"
dependencies {
implementation("io.ktor:ktor-network-tls-certificates:$ktor_version")
implementation("io.ktor:ktor-server-core-jvm:$ktor_version")
// implementation("io.ktor:ktor-server-cio-jvm")
implementation("io.ktor:ktor-server-netty-jvm:$ktor_version")
implementation("io.ktor:ktor-server-call-logging:$ktor_version")
implementation("ch.qos.logback:logback-classic:1.4.12")
implementation("io.ktor:ktor-client-core-jvm:$ktor_version")
implementation("io.ktor:ktor-client-cio:$ktor_version")
implementation("io.ktor:ktor-client-apache5:$ktor_version")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}