File tree 1 file changed +7
-11
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent
1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ dependencies {
22
22
latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
23
23
}
24
24
25
- testing {
26
- suites {
27
- val testPrometheus by registering(JvmTestSuite ::class ) {
28
- dependencies {
29
- runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3" )
30
- }
31
- }
32
- }
33
- }
34
-
35
25
tasks.withType<Test >().configureEach {
36
26
// required on jdk17
37
27
jvmArgs(" --add-opens=java.base/java.lang=ALL-UNNAMED" )
@@ -61,7 +51,13 @@ if (!latestDepTest) {
61
51
}
62
52
63
53
tasks {
54
+ val testPrometheus by registering(Test ::class ) {
55
+ dependencies {
56
+ runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3" )
57
+ }
58
+ }
59
+
64
60
check {
65
- dependsOn(testing.suites )
61
+ dependsOn(testPrometheus )
66
62
}
67
63
}
You can’t perform that action at this time.
0 commit comments