diff --git a/gradle/maven-deployment.gradle b/gradle/maven-deployment.gradle index dafaec648e..84a3679fca 100644 --- a/gradle/maven-deployment.gradle +++ b/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' } } }