File tree 1 file changed +3
-6
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,13 @@ if (!latestDepTest) {
48
48
force(" org.slf4j:slf4j-api:1.7.36" )
49
49
}
50
50
}
51
- }
52
51
53
- if (latestDepTest) {
54
- // this dependency adds the new io.micrometer.prometheusmetrics.PrometheusMeterRegistry,
55
- // not the old io.micrometer.prometheus.PrometheusMeterRegistry,
56
- // which is required in older versions of spring that we use in this test project
52
+ // this dependency adds the old io.micrometer.prometheus.PrometheusMeterRegistry,
53
+ // which is not supported by the latest version of spring boot
57
54
tasks {
58
55
val testPrometheus by registering(Test ::class ) {
59
56
dependencies {
60
- runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3 " )
57
+ runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.0.1 " )
61
58
}
62
59
}
63
60
You can’t perform that action at this time.
0 commit comments