-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
42 lines (35 loc) · 954 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
42
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id("kotest-publishing-conventions")
kotlin("jvm") version "1.9.10"
}
group = "io.kotest.extensions"
version = Ci.version
dependencies {
implementation(libs.kotest.framework.api)
implementation(libs.kotest.framework.engine)
testImplementation(libs.kotest.assertions.core)
testImplementation(libs.kotest.runner.junit5)
}
tasks.named<Test>("test") {
useJUnitPlatform()
testLogging {
showExceptions = true
showStandardStreams = true
exceptionFormat = TestExceptionFormat.FULL
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}