Ignore duplicate paths in schemas .zip for Gradle 7.0 compatibility

Gradle 7.0 no longer silently ignores a case where the same file
appears multiple times in an output .zip.
This commit is contained in:
Ian Young
2021-12-23 20:52:49 +00:00
committed by rstoyanchev
parent 65a9c42207
commit 7f5df351ff

View File

@@ -295,6 +295,8 @@ configure(rootProject) {
description = "Builds -${archiveClassifier} archive containing all " +
"XSDs for deployment at static.springframework.org/schema."
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
subprojects.each { subproject ->
Properties schemas = new Properties()