Commit 376098d0 authored by Madhura Bhave's avatar Madhura Bhave

Set asciidoctor revnumber to null

Closes gh-20934
parent 4c4097a2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment