ソースを参照

Add dependency between rncToXsd and sourcesJar

Since processResources is configured directly instead of via the source
set container, an explicit dependency task between rncToXsd and
sourcesJar must be defined.

Issue gh-13845
Eric Haag 1 年間 前
コミット
ac04c2e675
1 ファイル変更7 行追加0 行削除
  1. 7 0
      config/spring-security-config.gradle

+ 7 - 0
config/spring-security-config.gradle

@@ -133,6 +133,13 @@ tasks.named('processResources', ProcessResources).configure {
 	}
 }
 
+tasks.named('sourcesJar', Jar).configure {
+	from(rncToXsd) {
+		duplicatesStrategy DuplicatesStrategy.EXCLUDE
+		into 'org/springframework/security/config/'
+	}
+}
+
 tasks.withType(KotlinCompile).configureEach {
 	kotlinOptions {
 		languageVersion = "1.3"