Set asciidoctor revnumber to null

Closes gh-20934
pull/21440/head
Madhura Bhave 5 years ago
parent 4c4097a29b
commit 376098d080

@ -181,6 +181,10 @@ asciidoctor {
}
}
asciidoctor {
attributes "revnumber": null
}
asciidoctorPdf {
configurations "asciidoctorExtensions"
dependsOn test
@ -189,6 +193,10 @@ asciidoctorPdf {
}
}
asciidoctorPdf {
attributes "revnumber": null
}
task zip(type: Zip) {
dependsOn asciidoctor, asciidoctorPdf
duplicatesStrategy "fail"

@ -155,6 +155,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
}
}
asciidoctor {
attributes "revnumber": null
}
asciidoctor {
sources {
include "*.singleadoc"
@ -167,12 +171,20 @@ 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

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

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

Loading…
Cancel
Save