Skip to content

Commit ac04c2e

Browse files
erichaagdevmarcusdacoregio
authored andcommitted
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
1 parent e63d7fd commit ac04c2e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

config/spring-security-config.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ tasks.named('processResources', ProcessResources).configure {
133133
}
134134
}
135135

136+
tasks.named('sourcesJar', Jar).configure {
137+
from(rncToXsd) {
138+
duplicatesStrategy DuplicatesStrategy.EXCLUDE
139+
into 'org/springframework/security/config/'
140+
}
141+
}
142+
136143
tasks.withType(KotlinCompile).configureEach {
137144
kotlinOptions {
138145
languageVersion = "1.3"

0 commit comments

Comments
 (0)