From cae8c14ac776e5538c73e55522fa70679737de4c Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 20 Feb 2023 19:35:37 +0000 Subject: [PATCH] Make Micrometer context-propagation available to test compilation See gh-34201 --- spring-boot-project/spring-boot-autoconfigure/build.gradle | 1 + spring-boot-project/spring-boot-parent/build.gradle | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/build.gradle b/spring-boot-project/spring-boot-autoconfigure/build.gradle index 7420c840a2..ed8db0d986 100644 --- a/spring-boot-project/spring-boot-autoconfigure/build.gradle +++ b/spring-boot-project/spring-boot-autoconfigure/build.gradle @@ -221,6 +221,7 @@ dependencies { testImplementation("com.querydsl:querydsl-core") testImplementation("com.squareup.okhttp3:mockwebserver") testImplementation("com.sun.xml.messaging.saaj:saaj-impl") + testImplementation("io.micrometer:context-propagation") testImplementation("io.projectreactor:reactor-test") testImplementation("io.r2dbc:r2dbc-h2") testImplementation("jakarta.json:jakarta.json-api") diff --git a/spring-boot-project/spring-boot-parent/build.gradle b/spring-boot-project/spring-boot-parent/build.gradle index 93f55a2918..a637f080cb 100644 --- a/spring-boot-project/spring-boot-parent/build.gradle +++ b/spring-boot-project/spring-boot-parent/build.gradle @@ -137,6 +137,13 @@ bom { ] } } + library("Micrometer Context Propagation", "1.0.2") { + group("io.micrometer") { + modules = [ + "context-propagation" + ] + } + } library("MockK", "1.10.6") { group("io.mockk") { modules = [