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
pull/20832/head
Scott Frederick 5 years ago
parent f40444e212
commit c119dd2450

@ -99,6 +99,7 @@ task zip(type: Zip) {
duplicatesStrategy "fail" duplicatesStrategy "fail"
from(asciidoctorPdf.outputDir) { from(asciidoctorPdf.outputDir) {
into "reference/pdf" into "reference/pdf"
rename "index.pdf", "${project.name}-reference.pdf"
} }
from(asciidoctor.outputDir) { from(asciidoctor.outputDir) {
into "reference/html" into "reference/html"

@ -99,6 +99,7 @@ task zip(type: Zip) {
duplicatesStrategy "fail" duplicatesStrategy "fail"
from(asciidoctorPdf.outputDir) { from(asciidoctorPdf.outputDir) {
into "reference/pdf" into "reference/pdf"
rename "index.pdf", "${project.name}-reference.pdf"
} }
from(asciidoctor.outputDir) { from(asciidoctor.outputDir) {
into "reference/html" into "reference/html"

Loading…
Cancel
Save