瀏覽代碼

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

Rob Winch 13 年之前
父節點
當前提交
fde9142d8d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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' }
         }
     }