Configure the Asciidoctor revnumber in a central location

See gh-20934
This commit is contained in:
Andy Wilkinson
2020-05-13 08:10:02 +01:00
parent 0607af870d
commit a03426af57
5 changed files with 1 additions and 36 deletions

View File

@@ -155,10 +155,6 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
}
}
asciidoctor {
attributes "revnumber": null
}
asciidoctor {
sources {
include "*.singleadoc"
@@ -171,20 +167,12 @@ asciidoctorPdf {
}
}
asciidoctorPdf {
attributes "revnumber": null
}
task asciidoctorMultipage(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
sources {
include "*.adoc"
}
}
asciidoctorMultipage {
attributes "revnumber": null
}
syncDocumentationSourceForAsciidoctor {
dependsOn documentTestSlices
dependsOn documentStarters