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 {
2222 latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
2323}
2424
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+ }
2931 }
3032 }
31-
32- check {
33- dependsOn(testPrometheus)
34- }
3533}
3634
3735tasks.withType<Test >().configureEach {
@@ -61,3 +59,9 @@ if (!latestDepTest) {
6159 }
6260 }
6361}
62+
63+ tasks {
64+ check {
65+ dependsOn(testing.suites)
66+ }
67+ }
You can’t perform that action at this time.
0 commit comments