From e9f4dec08caee84bead364c0815e767586412f3a Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Wed, 9 May 2018 17:28:10 -0400 Subject: [PATCH] Restore layout of docs zip with index.html at the top Issue: SPR-16799 --- gradle/docs.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle/docs.gradle b/gradle/docs.gradle index 9180f22d62..2bf02b5675 100644 --- a/gradle/docs.gradle +++ b/gradle/docs.gradle @@ -123,10 +123,14 @@ task docsZip(type: Zip, dependsOn: ['api', 'asciidoctor', 'dokka']) { into "javadoc-api" } - from (asciidoctor.outputDir) { + from ("$asciidoctor.outputDir/html5") { into "spring-framework-reference" } + from ("$asciidoctor.outputDir/pdf") { + into "spring-framework-reference/pdf" + } + from (dokka) { into "kdoc-api" }