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

@@ -86,20 +86,12 @@ asciidoctor {
attributes "stylesheet": "css/style.css"
}
asciidoctor {
attributes "revnumber": null
}
asciidoctorPdf {
sources {
include "index.adoc"
}
}
asciidoctorPdf {
attributes "revnumber": null
}
javadoc {
options {
author = true

View File

@@ -63,10 +63,6 @@ asciidoctor {
}
}
asciidoctor {
attributes "revnumber": null
}
syncDocumentationSourceForAsciidoctorPdf {
from(documentPluginGoals) {
into "asciidoc/goals"
@@ -79,10 +75,6 @@ asciidoctorPdf {
}
}
asciidoctorPdf {
attributes "revnumber": null
}
javadoc {
options {
author = true