Use a resolution strategy for SF artifacts
This commit is contained in:
12
build.gradle
12
build.gradle
@@ -229,6 +229,16 @@ configure(subprojects - project(":spring-build-src")) { subproject ->
|
||||
archives sourcesJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
eachDependency { DependencyResolveDetails details ->
|
||||
if (details.requested.group == 'org.springframework') {
|
||||
details.useVersion springVersion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
@@ -311,8 +321,6 @@ project('spring-batch-infrastructure') {
|
||||
|
||||
dependencies {
|
||||
|
||||
compile enforcedPlatform("org.springframework:spring-framework-bom:$springVersion")
|
||||
|
||||
compile "org.springframework:spring-core:$springVersion"
|
||||
compile "org.springframework.retry:spring-retry:$springRetryVersion"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user