mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
SEC-2927: No Dependency Management for Bom
This commit is contained in:
parent
a1ff94a34e
commit
7000652fd1
@ -70,14 +70,17 @@ def customizePom(pom, gradleProject) {
|
|||||||
email = 'rwinch@gopivotal.com'
|
email = 'rwinch@gopivotal.com'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencyManagement {
|
|
||||||
dependencies {
|
if(!gradleProject.name.endsWith('-bom')) {
|
||||||
dependency {
|
dependencyManagement {
|
||||||
groupId 'org.springframework'
|
dependencies {
|
||||||
artifactId 'spring-framework-bom'
|
dependency {
|
||||||
version project.springVersion
|
groupId 'org.springframework'
|
||||||
type 'pom'
|
artifactId 'spring-framework-bom'
|
||||||
scope 'import'
|
version project.springVersion
|
||||||
|
type 'pom'
|
||||||
|
scope 'import'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user