瀏覽代碼

Remove spring-security-crypto from spring-core pom

Instead of having api extend included configuration, we should use the
*Classpath configurations.

Closes gh-9767
Rob Winch 4 年之前
父節點
當前提交
56b7c662e4
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      core/spring-security-core.gradle

+ 7 - 2
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 {