-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
54 lines (48 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
plugins {
alias(deps.plugins.kotlin)
}
allprojects {
repositories {
mavenCentral()
mavenLocal()
}
}
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
}
subprojects {
apply(plugin = rootProject.deps.plugins.kotlin.get().pluginId)
dependencies {
with(rootProject) {
implementation(deps.bundles.kotlinx.coroutines)
implementation(deps.bundles.logging)
implementation(deps.tabby)
testImplementation(deps.bundles.kotest)
testImplementation(deps.bundles.testcontainers)
}
}
tasks {
// configure kotest to run
test {
useJUnitPlatform()
testLogging {
showExceptions = true
showStandardStreams = true
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}
withType<KotlinJvmCompile> {
compilerOptions {
apiVersion.set(KotlinVersion.KOTLIN_1_8)
languageVersion.set(KotlinVersion.KOTLIN_1_8)
jvmTarget.set(JvmTarget.JVM_17)
}
}
}
}