From 32975be2a2a5e260b020b3dc1b75d9d7576939da Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 4 Aug 2014 14:21:00 +0200 Subject: [PATCH] Avoid duplicate entries Prior to this commit, the schema distribution archive contains duplicate entries for the more recent XSD as it is reference both with its version and as the "default" XSD (i.e. without a version). This commit configures the task to apply a duplicatesStrategy so that only the first entry remains. Issue: SPR-12011 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 9d66563062..232210c074 100644 --- a/build.gradle +++ b/build.gradle @@ -1171,7 +1171,7 @@ configure(rootProject) { classifier = "schema" description = "Builds -${classifier} archive containing all " + "XSDs for deployment at http://springframework.org/schema." - + duplicatesStrategy 'exclude' subprojects.each { subproject -> def Properties schemas = new Properties();