-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
57 lines (49 loc) · 1.25 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id("kotest-publishing-conventions")
alias(libs.plugins.kotlinJvm)
alias(libs.plugins.allure)
}
group = "io.kotest.extensions"
version = Ci.version
dependencies {
implementation(kotlin("reflect"))
implementation(libs.kotest.framework.api)
implementation(libs.kotest.framework.engine)
implementation(libs.bundles.jaxb)
api(libs.allure.commons)
testImplementation(libs.kotest.assertions.core)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.jackson.module.kotlin)
}
tasks.named<Test>("test") {
useJUnitPlatform()
testLogging {
showExceptions = true
showStandardStreams = true
exceptionFormat = TestExceptionFormat.FULL
}
}
kotlin{
jvmToolchain(8)
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots")
}
allure {
version.set(libs.versions.allure)
adapter.autoconfigure.set(false)
adapter.autoconfigureListeners.set(false)
adapter {
frameworks {
junit5 {
enabled.set(false)
}
}
}
}