From 1339bff6ed7cb3969dd3ede538daba561e17872b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Thu, 12 Oct 2023 12:43:28 +0200 Subject: [PATCH] e - Oppdatering av gradle-test-logger-plugin:3.2.0, og bytter fra testlogging til testlogger --- buildSrc/ep-module.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/buildSrc/ep-module.gradle b/buildSrc/ep-module.gradle index 5fe4eea9..a2959ab1 100644 --- a/buildSrc/ep-module.gradle +++ b/buildSrc/ep-module.gradle @@ -13,7 +13,7 @@ buildscript { classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.5.0.2730" classpath "se.patrikerdes:gradle-use-latest-versions-plugin:0.2.18" classpath "org.owasp:dependency-check-gradle:8.1.0" - classpath "com.adarshr:gradle-test-logger-plugin:3.2.0" + classpath "com.adarshr:gradle-test-logger-plugin:4.0.0" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion" } @@ -72,9 +72,10 @@ compileTestKotlin { test { useJUnitPlatform() failFast = true - testLogging { - exceptionFormat "full" - showStandardStreams false + testlogger { + theme 'mocha' // task level + showFullStackTraces true + slowThreshold 5000 //Tests that are too slow will have their duration logged. } }