File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: GPL-3.0-or-later
44 */
55
6- import org.gradle.api.tasks.testing.logging.TestExceptionFormat
7- import org.gradle.api.tasks.testing.logging.TestLogEvent
8-
96plugins {
107 alias(libs.plugins.google.protobuf) apply false
118}
@@ -38,13 +35,4 @@ subprojects {
3835 )
3936 }
4037 }
41-
42- // Test logging setup
43- tasks.withType<Test >().configureEach {
44- testLogging {
45- events = setOf (TestLogEvent .SKIPPED , TestLogEvent .FAILED )
46- showStandardStreams = true
47- exceptionFormat = TestExceptionFormat .FULL
48- }
49- }
5038}
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: GPL-3.0-or-later
44 */
55
6+ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
7+ import org.gradle.api.tasks.testing.logging.TestLogEvent
8+
69plugins {
710 alias(libs.plugins.google.protobuf)
811 checkstyle
@@ -22,6 +25,13 @@ tasks.jar {
2225}
2326
2427tasks.test {
28+ // Test logging setup
29+ testLogging {
30+ events = setOf (TestLogEvent .SKIPPED , TestLogEvent .FAILED )
31+ showStandardStreams = true
32+ exceptionFormat = TestExceptionFormat .FULL
33+ }
34+
2535 // Pass on downloader type to tests for different CI jobs. See DownloaderFactory.java and ci.yml
2636 if (System .getProperties().containsKey(" downloader" )) {
2737 systemProperty(" downloader" , System .getProperty(" downloader" ))
You can’t perform that action at this time.
0 commit comments