aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index a1450bd..e253db8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,4 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+import org.gradle.api.tasks.testing.logging.TestLogEvent.*
+import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
+import kotlin.collections.setOf
plugins {
kotlin("jvm") version "1.6.10"
@@ -14,7 +17,6 @@ repositories {
dependencies {
testImplementation(kotlin("test"))
- // Staying on the version used by 1.12.2 to avoid possible incompatibilities.
// 2.15.0 is not vulnerable to any RCE exploits.
implementation("org.apache.logging.log4j:log4j-api:2.15.0")
implementation("org.apache.logging.log4j:log4j-core:2.15.0")
@@ -25,6 +27,10 @@ dependencies {
}
tasks.test {
+ testLogging {
+ exceptionFormat = FULL
+ showStandardStreams = true
+ }
useJUnitPlatform()
}