From 7f5df351ff8f2ca5d8866aea110eed2408710d9f Mon Sep 17 00:00:00 2001 From: Ian Young Date: Thu, 23 Dec 2021 20:52:49 +0000 Subject: [PATCH] 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. --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index ed28a533..88ebb1c2 100644 --- a/build.gradle +++ b/build.gradle @@ -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()