build: added helppdf build task
@@ -46,6 +46,17 @@ task ditasite() {
}
}
+task helppdf() {
+ dependsOn generateDocs
+
+ doLast {
+ exec {
+ commandLine 'dita', '--input=ditamap.xml', '--format=sig-pdf', "--outputFile.base=${project.name}-${version}-help", '-o', '../../build/libs'
+ workingDir "docs/generated"
+ }
+ }
+}
+
task helpzip(type: Zip) {
dependsOn ditasite
@@ -57,6 +68,7 @@ task helpzip(type: Zip) {
task ditadocs() {
dependsOn ditasourcezip
dependsOn helpzip
+ dependsOn helppdf
}
task servedocs() {
