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
This commit is contained in:
Eric Haag 2023-09-18 14:23:34 -05:00 committed by Marcus Da Coregio
parent e63d7fd9e9
commit ac04c2e675
1 changed files with 7 additions and 0 deletions

View File

@ -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"