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:
Brian Clozel
2017-08-21 14:42:03 +02:00
parent 2eeb428e95
commit cc3d7d2d48
8 changed files with 89 additions and 19 deletions

View File

@@ -1,5 +1,18 @@
description = "Spring WebSocket"
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
}
dependencies {
compile(project(":spring-context"))
compile(project(":spring-core"))