Add Micrometer BOM 1.10 dependency management

This new BOM dependency is necessary, as Spring Framework will implement
direct instrumentation with Micrometer as a mandatory or optional
dependency in several modules.
This commit is contained in:
Brian Clozel 2022-09-12 11:36:29 +02:00
parent f9dcd428ae
commit a68b46a2b6
2 changed files with 7 additions and 2 deletions

View File

@ -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 {

View File

@ -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"))