-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
51 lines (48 loc) · 1.57 KB
/
build.gradle.kts
File metadata and controls
51 lines (48 loc) · 1.57 KB
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
import com.adarshr.gradle.testlogger.TestLoggerExtension
import com.adarshr.gradle.testlogger.theme.ThemeType.STANDARD
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(kotlin("gradle-plugin", "1.9.20"))
classpath("com.vanniktech:gradle-maven-publish-plugin:0.33.0")
}
}
plugins {
id("com.adarshr.test-logger") version("3.2.0") apply(true)
}
allprojects {
tasks.withType(JavaCompile::class.java) {
sourceCompatibility = JavaVersion.VERSION_17.toString()
targetCompatibility = JavaVersion.VERSION_17.toString()
}
tasks.withType(KotlinCompile::class.java) {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
freeCompilerArgs += "-Xopt-in=kotlin.ExperimentalUnsignedTypes"
}
}
tasks.withType(Task::class) {
project.apply(plugin = "com.adarshr.test-logger")
project.configure<TestLoggerExtension> {
theme = STANDARD
showExceptions = true
showStackTraces = false
showFullStackTraces = false
showCauses = true
slowThreshold = 5000
showSummary = true
showSimpleNames = false
showPassed = true
showSkipped = true
showFailed = true
showOnlySlow = false
showStandardStreams = false
showPassedStandardStreams = false
showSkippedStandardStreams = false
showFailedStandardStreams = true
}
}
}