diff --git a/build.gradle b/build.gradle index ef4ff6922..1227b2b9e 100644 --- a/build.gradle +++ b/build.gradle @@ -145,14 +145,6 @@ subprojects { tasks.named('test') { // Use junit platform for unit tests. useJUnitPlatform() - testLogging { - events 'passed', 'skipped', 'failed' - showStandardStreams = true - showExceptions = true - showStackTraces = true - showCauses = true - exceptionFormat "full" - } } sourceSets { diff --git a/e2e/build.gradle b/e2e/build.gradle index e79e91764..6c60357e7 100644 --- a/e2e/build.gradle +++ b/e2e/build.gradle @@ -28,3 +28,16 @@ dependencies { testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion" testRuntimeOnly "org.slf4j:slf4j-log4j12:$slf4jVersion" } + +tasks.named('test') { + // Use junit platform for unit tests. + useJUnitPlatform() + testLogging { + events 'passed', 'skipped', 'failed' + showStandardStreams = true + showExceptions = true + showStackTraces = true + showCauses = true + exceptionFormat "full" + } +}