-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
36 lines (30 loc) · 1020 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
plugins {
kotlin("jvm") version "2.0.20"
}
val ktorVersion: String by project
val junitJupiterVersion: String by project
val slf4jSimpleVersion: String by project
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-cio:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
implementation("org.slf4j:slf4j-simple:$slf4jSimpleVersion")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("io.ktor:ktor-client-mock:$ktorVersion")
testImplementation("org.junit.jupiter:junit-jupiter:$junitJupiterVersion")
}
tasks {
withType<Test> {
useJUnitPlatform()
testLogging {
events("skipped", "failed")
showStackTraces = true
showExceptions = true
showCauses = true
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}
}