mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 14:22:47 +00:00
SEC-1907: Exclude crypto dependency in core module since classes are bundled in core
This commit is contained in:
parent
f2345fcb21
commit
fde9142d8d
@ -83,6 +83,7 @@ def customizePom(pom) {
|
|||||||
if (p.artifactId == 'spring-security-core') {
|
if (p.artifactId == 'spring-security-core') {
|
||||||
p.dependencies.find { dep -> dep.artifactId == 'spring-jdbc'}.optional = true
|
p.dependencies.find { dep -> dep.artifactId == 'spring-jdbc'}.optional = true
|
||||||
p.dependencies.find { dep -> dep.artifactId == 'spring-tx'}.optional = true
|
p.dependencies.find { dep -> dep.artifactId == 'spring-tx'}.optional = true
|
||||||
|
p.dependencies.removeAll { dep -> dep.artifactId == 'spring-security-crypto' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user