forked from kotest/kotest-extensions-testcontainers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (39 loc) · 1.12 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id("kotest-publishing-conventions")
kotlin("jvm") version "1.6.21"
}
repositories {
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
group = "io.kotest.extensions"
version = Ci.version
dependencies {
implementation(libs.kotest.framework.api)
implementation(libs.kotlinx.coroutines.core)
api(libs.testcontainers.core)
api(libs.testcontainers.jdbc)
api(libs.testcontainers.kafka)
api(libs.testcontainers.elastic)
api(libs.kafka.client)
api(libs.hikari)
testImplementation(libs.kotest.assertions.core)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.jedis)
testImplementation(libs.testcontainers.mysql)
testImplementation(libs.mysql.connector.java)
}
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"
}