File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
instrumentation/spring/spring-boot-actuator-autoconfigure-2.0/javaagent Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,13 @@ if (!latestDepTest) {
4848 force(" org.slf4j:slf4j-api:1.7.36" )
4949 }
5050 }
51- }
5251
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
5754 tasks {
5855 val testPrometheus by registering(Test ::class ) {
5956 dependencies {
60- runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.14.3 " )
57+ runtimeOnly(" io.micrometer:micrometer-registry-prometheus:1.0.1 " )
6158 }
6259 }
6360
You can’t perform that action at this time.
0 commit comments