diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle index 060cbd2054..7672d8623f 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle @@ -99,6 +99,7 @@ task zip(type: Zip) { duplicatesStrategy "fail" from(asciidoctorPdf.outputDir) { into "reference/pdf" + rename "index.pdf", "${project.name}-reference.pdf" } from(asciidoctor.outputDir) { into "reference/html" diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle index db95d647ee..875394c4e8 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle @@ -99,6 +99,7 @@ task zip(type: Zip) { duplicatesStrategy "fail" from(asciidoctorPdf.outputDir) { into "reference/pdf" + rename "index.pdf", "${project.name}-reference.pdf" } from(asciidoctor.outputDir) { into "reference/html"