From 56b7c662e410bd5327feebea294597ea9f5a9022 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 18 May 2021 15:27:55 -0500 Subject: [PATCH] Remove spring-security-crypto from spring-core pom Instead of having api extend included configuration, we should use the *Classpath configurations. Closes gh-9767 --- core/spring-security-core.gradle | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/spring-security-core.gradle b/core/spring-security-core.gradle index eaba81faeb..4cf639eddf 100644 --- a/core/spring-security-core.gradle +++ b/core/spring-security-core.gradle @@ -5,8 +5,13 @@ apply plugin: 'io.spring.convention.spring-module' def includeProject = project(':spring-security-crypto') configurations { - included - api.extendsFrom included + included { + visible = false + transitive = false + } + compileClasspath.extendsFrom included + testCompileClasspath.extendsFrom included + testRuntimeClasspath.extendsFrom included } dependencies {