Restore PDF generation

This commit is contained in:
Gary Russell
2020-03-27 16:52:34 -04:00
parent 6e1093b897
commit 19485c3d69

View File

@@ -345,7 +345,7 @@ task('makePDF', type: org.asciidoctor.gradle.AsciidoctorTask) {
backends 'pdf'
sourceDir "$buildDir/asciidoc"
sources {
include 'index-single.adoc'
include 'index.adoc'
}
options doctype: 'book', eruby: 'erubis'
attributes 'icons': 'font',
@@ -443,6 +443,7 @@ task docsZip(type: Zip, dependsOn: [reference]) {
from ('build/asciidoc/pdf') {
include 'index.pdf'
rename 'index.pdf', 'spring-kafka-reference.pdf'
into 'reference/pdf'
}
}