File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,14 @@ dependencies {
22
22
latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
23
23
}
24
24
25
- tasks {
26
- val testPrometheus by registering(Test ::class ) {
27
- dependencies {
28
- runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3" )
25
+ testing {
26
+ suites {
27
+ val testPrometheus by registering(JvmTestSuite ::class ) {
28
+ dependencies {
29
+ runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3" )
30
+ }
29
31
}
30
32
}
31
-
32
- check {
33
- dependsOn(testPrometheus)
34
- }
35
33
}
36
34
37
35
tasks.withType<Test >().configureEach {
@@ -61,3 +59,9 @@ if (!latestDepTest) {
61
59
}
62
60
}
63
61
}
62
+
63
+ tasks {
64
+ check {
65
+ dependsOn(testing.suites)
66
+ }
67
+ }
You can’t perform that action at this time.
0 commit comments