File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ dependencies {
2222 latestDepTestLibrary(" ch.qos.logback:logback-classic:+" )
2323}
2424
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-
3525tasks.withType<Test >().configureEach {
3626 // required on jdk17
3727 jvmArgs(" --add-opens=java.base/java.lang=ALL-UNNAMED" )
@@ -61,7 +51,13 @@ if (!latestDepTest) {
6151}
6252
6353tasks {
54+ val testPrometheus by registering(Test ::class ) {
55+ dependencies {
56+ runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3" )
57+ }
58+ }
59+
6460 check {
65- dependsOn(testing.suites )
61+ dependsOn(testPrometheus )
6662 }
6763}
You can’t perform that action at this time.
0 commit comments