diff --git a/build.gradle b/build.gradle index 20ae6e1f39..bd0f8db832 100644 --- a/build.gradle +++ b/build.gradle @@ -25,8 +25,12 @@ configure(allprojects) { project -> repositories { mavenCentral() maven { url "https://repo.spring.io/libs-spring-framework-build" } - maven { url "https://repo.spring.io/milestone" } // temporarily for context-propagation via Reactor Netty - maven { url "https://repo.spring.io/snapshot" } // reactor + if (version.contains('-')) { + maven { url "https://repo.spring.io/milestone" } + } + if (version.endsWith('-SNAPSHOT')) { + maven { url "https://repo.spring.io/snapshot" } + } } configurations.all { resolutionStrategy { diff --git a/framework-platform/framework-platform.gradle b/framework-platform/framework-platform.gradle index 48b9323c4e..fe1af28c2d 100644 --- a/framework-platform/framework-platform.gradle +++ b/framework-platform/framework-platform.gradle @@ -8,6 +8,7 @@ javaPlatform { dependencies { api(platform("com.fasterxml.jackson:jackson-bom:2.13.3")) + api(platform("io.micrometer:micrometer-bom:1.10.0-SNAPSHOT")) api(platform("io.netty:netty-bom:4.1.80.Final")) api(platform("io.netty:netty5-bom:5.0.0.Alpha3")) api(platform("io.projectreactor:reactor-bom:2022.0.0-SNAPSHOT"))