Skip to content

Commit c119dd2

Browse files
Rename plugin PDF reference doc files
This commit renames the PDF documentation files generated for the build plugins when the distribution archive is created. See gh-20829
1 parent f40444e commit c119dd2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ task zip(type: Zip) {
9999
duplicatesStrategy "fail"
100100
from(asciidoctorPdf.outputDir) {
101101
into "reference/pdf"
102+
rename "index.pdf", "${project.name}-reference.pdf"
102103
}
103104
from(asciidoctor.outputDir) {
104105
into "reference/html"

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ task zip(type: Zip) {
9999
duplicatesStrategy "fail"
100100
from(asciidoctorPdf.outputDir) {
101101
into "reference/pdf"
102+
rename "index.pdf", "${project.name}-reference.pdf"
102103
}
103104
from(asciidoctor.outputDir) {
104105
into "reference/html"

0 commit comments

Comments
 (0)