Skip to content

Commit

Permalink
Add dependency between rncToXsd and sourcesJar
Browse files Browse the repository at this point in the history
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
  • Loading branch information
erichaagdev authored and marcusdacoregio committed Sep 19, 2023
1 parent e63d7fd commit ac04c2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/spring-security-config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ac04c2e

Please sign in to comment.