From 0f5fdefed68d4d54f08d8e9fc9dc3a0e098f93a1 Mon Sep 17 00:00:00 2001 From: bush-did-711 <39170869+bush-did-711@users.noreply.github.com> Date: Wed, 30 Mar 2022 23:03:09 -1000 Subject: started adding tests, more refactoring (not done) --- build.gradle.kts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build.gradle.kts') 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() } -- cgit