-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle.kts
42 lines (35 loc) · 931 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 {
signing
`maven-publish`
kotlin("jvm")
}
subprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
group = "com.sksamuel.aedile"
version = Ci.version
dependencies {
api(rootProject.libs.coroutines.core)
api(rootProject.libs.coroutines.jdk8)
testApi(rootProject.libs.bundles.testing)
}
tasks.named<Test>("test") {
useJUnitPlatform()
testLogging {
showExceptions = true
showStandardStreams = true
exceptionFormat = TestExceptionFormat.FULL
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
withSourcesJar()
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions.apiVersion = "1.9"
kotlinOptions.languageVersion = "1.9"
}
}