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 { ...@@ -181,6 +181,10 @@ asciidoctor {
} }
} }
asciidoctor {
attributes "revnumber": null
}
asciidoctorPdf { asciidoctorPdf {
configurations "asciidoctorExtensions" configurations "asciidoctorExtensions"
dependsOn test dependsOn test
...@@ -189,6 +193,10 @@ asciidoctorPdf { ...@@ -189,6 +193,10 @@ asciidoctorPdf {
} }
} }
asciidoctorPdf {
attributes "revnumber": null
}
task zip(type: Zip) { task zip(type: Zip) {
dependsOn asciidoctor, asciidoctorPdf dependsOn asciidoctor, asciidoctorPdf
duplicatesStrategy "fail" duplicatesStrategy "fail"
......
...@@ -155,6 +155,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) { ...@@ -155,6 +155,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
} }
} }
asciidoctor {
attributes "revnumber": null
}
asciidoctor { asciidoctor {
sources { sources {
include "*.singleadoc" include "*.singleadoc"
...@@ -167,12 +171,20 @@ asciidoctorPdf { ...@@ -167,12 +171,20 @@ asciidoctorPdf {
} }
} }
asciidoctorPdf {
attributes "revnumber": null
}
task asciidoctorMultipage(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) { task asciidoctorMultipage(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
sources { sources {
include "*.adoc" include "*.adoc"
} }
} }
asciidoctorMultipage {
attributes "revnumber": null
}
syncDocumentationSourceForAsciidoctor { syncDocumentationSourceForAsciidoctor {
dependsOn documentTestSlices dependsOn documentTestSlices
dependsOn documentStarters dependsOn documentStarters
......
...@@ -86,12 +86,20 @@ asciidoctor { ...@@ -86,12 +86,20 @@ asciidoctor {
attributes "stylesheet": "css/style.css" attributes "stylesheet": "css/style.css"
} }
asciidoctor {
attributes "revnumber": null
}
asciidoctorPdf { asciidoctorPdf {
sources { sources {
include "index.adoc" include "index.adoc"
} }
} }
asciidoctorPdf {
attributes "revnumber": null
}
javadoc { javadoc {
options { options {
author = true author = true
......
...@@ -63,6 +63,10 @@ asciidoctor { ...@@ -63,6 +63,10 @@ asciidoctor {
} }
} }
asciidoctor {
attributes "revnumber": null
}
syncDocumentationSourceForAsciidoctorPdf { syncDocumentationSourceForAsciidoctorPdf {
from(documentPluginGoals) { from(documentPluginGoals) {
into "asciidoc/goals" into "asciidoc/goals"
...@@ -75,6 +79,10 @@ asciidoctorPdf { ...@@ -75,6 +79,10 @@ asciidoctorPdf {
} }
} }
asciidoctorPdf {
attributes "revnumber": null
}
javadoc { javadoc {
options { options {
author = true 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