Explorar o código

SEC-1907: Exclude crypto dependency in core module since classes are bundled in core

Rob Winch %!s(int64=13) %!d(string=hai) anos
pai
achega
fde9142d8d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gradle/maven-deployment.gradle

+ 1 - 0
gradle/maven-deployment.gradle

@@ -83,6 +83,7 @@ def customizePom(pom) {
         if (p.artifactId == 'spring-security-core') {
             p.dependencies.find { dep -> dep.artifactId == 'spring-jdbc'}.optional = true
             p.dependencies.find { dep -> dep.artifactId == 'spring-tx'}.optional = true
+            p.dependencies.removeAll { dep -> dep.artifactId == 'spring-security-crypto' }
         }
     }