-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
39 lines (33 loc) · 1.02 KB
/
build.gradle.kts
File metadata and controls
39 lines (33 loc) · 1.02 KB
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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.20"
kotlin("plugin.serialization") version "1.5.20"
java
}
group = "pl.asku"
version = "1.0"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
implementation("org.hamcrest:hamcrest:2.2")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5:1.5.20")
testImplementation("io.rest-assured:kotlin-extensions:4.4.0")
}
tasks.test {
useJUnitPlatform()
testLogging {
events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
exceptionFormat = TestExceptionFormat.SHORT
showCauses = true
showExceptions = true
showStackTraces = true
}
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "16"
}