File tree Expand file tree Collapse file tree 1 file changed +23
-21
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -8,27 +8,29 @@ plugins {
8
8
@Suppress(" UnstableApiUsage" )
9
9
testing {
10
10
suites {
11
- named<JvmTestSuite >(" test" ) {
12
-
13
- // Version catalog not available in precompiled script plugins:
14
- // https://github.com/gradle/gradle/issues/15383
15
- // val junitVersion = libs.version.junit.get()
16
- val junitVersion = " 5.9.2" // Duplicated in libs.versions.toml.
17
-
18
- useJUnitJupiter(junitVersion)
19
-
20
- targets {
21
- all {
22
- testTask.configure {
23
- testLogging {
24
- showStandardStreams = true
25
- events(
26
- PASSED ,
27
- SKIPPED ,
28
- FAILED ,
29
- STANDARD_OUT ,
30
- STANDARD_ERROR
31
- )
11
+ configureEach {
12
+ if (this is JvmTestSuite ) {
13
+
14
+ // Version catalog not available in precompiled script plugins:
15
+ // https://github.com/gradle/gradle/issues/15383
16
+ // val junitVersion = libs.version.junit.get()
17
+ val junitVersion = " 5.9.2" // Duplicated in libs.versions.toml.
18
+
19
+ useJUnitJupiter(junitVersion)
20
+
21
+ targets {
22
+ all {
23
+ testTask.configure {
24
+ testLogging {
25
+ showStandardStreams = true
26
+ events(
27
+ PASSED ,
28
+ SKIPPED ,
29
+ FAILED ,
30
+ STANDARD_OUT ,
31
+ STANDARD_ERROR
32
+ )
33
+ }
32
34
}
33
35
}
34
36
}
You can’t perform that action at this time.
0 commit comments