-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle.kts
52 lines (45 loc) · 1.09 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
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
}
plugins {
kotlin("jvm").version("1.9.21")
id("java-library")
id("maven-publish")
signing
}
allprojects {
repositories {
mavenCentral()
}
group = "com.sksamuel.tribune"
version = Ci.publishVersion
apply(plugin = "org.jetbrains.kotlin.jvm")
java {
sourceCompatibility = JavaVersion.VERSION_11
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
apiVersion = "1.9"
languageVersion = "1.9"
}
}
tasks.withType<Test> {
useJUnitPlatform()
filter {
isFailOnNoMatchingTests = false
}
testLogging {
showExceptions = true
showStandardStreams = true
events = setOf(
org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED,
org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED
)
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}
}