Apply dependency management to selected modules
This commit applies the Dependency Management Plugin to modules that require it; right now Spring Framework is importing BOMs for Netty and Reactor dependencies only. Instead of applying those BOMs to all modules, they're applied only where they're needed. Issue: SPR-15885
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
description = "Spring Core"
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "io.projectreactor:reactor-bom:${reactorVersion}"
|
||||
mavenBom "io.netty:netty-bom:${nettyVersion}"
|
||||
}
|
||||
resolutionStrategy {
|
||||
cacheChangingModulesFor 0, 'seconds'
|
||||
}
|
||||
applyMavenExclusions = false
|
||||
}
|
||||
|
||||
// As of Spring 4.0.3, spring-core includes asm 5.x and repackages cglib 3.2, inlining
|
||||
// both into the spring-core jar. cglib 3.2 itself depends on asm 5.x and is therefore
|
||||
// further transformed by the JarJar task to depend on org.springframework.asm; this
|
||||
|
||||
Reference in New Issue
Block a user