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:
parent
f9dcd428ae
commit
a68b46a2b6
|
@ -25,8 +25,12 @@ configure(allprojects) { project ->
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url "https://repo.spring.io/libs-spring-framework-build" }
|
maven { url "https://repo.spring.io/libs-spring-framework-build" }
|
||||||
maven { url "https://repo.spring.io/milestone" } // temporarily for context-propagation via Reactor Netty
|
if (version.contains('-')) {
|
||||||
maven { url "https://repo.spring.io/snapshot" } // reactor
|
maven { url "https://repo.spring.io/milestone" }
|
||||||
|
}
|
||||||
|
if (version.endsWith('-SNAPSHOT')) {
|
||||||
|
maven { url "https://repo.spring.io/snapshot" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
configurations.all {
|
configurations.all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
|
|
|
@ -8,6 +8,7 @@ javaPlatform {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(platform("com.fasterxml.jackson:jackson-bom:2.13.3"))
|
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:netty-bom:4.1.80.Final"))
|
||||||
api(platform("io.netty:netty5-bom:5.0.0.Alpha3"))
|
api(platform("io.netty:netty5-bom:5.0.0.Alpha3"))
|
||||||
api(platform("io.projectreactor:reactor-bom:2022.0.0-SNAPSHOT"))
|
api(platform("io.projectreactor:reactor-bom:2022.0.0-SNAPSHOT"))
|
||||||
|
|
Loading…
Reference in New Issue