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 {