Skip to content

Commit cae8c14

Browse files
committed
Make Micrometer context-propagation available to test compilation
See gh-34201
1 parent 86b6cd6 commit cae8c14

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: spring-boot-project/spring-boot-autoconfigure/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ dependencies {
221221
testImplementation("com.querydsl:querydsl-core")
222222
testImplementation("com.squareup.okhttp3:mockwebserver")
223223
testImplementation("com.sun.xml.messaging.saaj:saaj-impl")
224+
testImplementation("io.micrometer:context-propagation")
224225
testImplementation("io.projectreactor:reactor-test")
225226
testImplementation("io.r2dbc:r2dbc-h2")
226227
testImplementation("jakarta.json:jakarta.json-api")

Diff for: spring-boot-project/spring-boot-parent/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ bom {
137137
]
138138
}
139139
}
140+
library("Micrometer Context Propagation", "1.0.2") {
141+
group("io.micrometer") {
142+
modules = [
143+
"context-propagation"
144+
]
145+
}
146+
}
140147
library("MockK", "1.10.6") {
141148
group("io.mockk") {
142149
modules = [

0 commit comments

Comments
 (0)