Skip to content

Commit 376098d

Browse files
committed
Set asciidoctor revnumber to null
Closes gh-20934
1 parent 4c4097a commit 376098d

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ asciidoctor {
181181
}
182182
}
183183

184+
asciidoctor {
185+
attributes "revnumber": null
186+
}
187+
184188
asciidoctorPdf {
185189
configurations "asciidoctorExtensions"
186190
dependsOn test
@@ -189,6 +193,10 @@ asciidoctorPdf {
189193
}
190194
}
191195

196+
asciidoctorPdf {
197+
attributes "revnumber": null
198+
}
199+
192200
task zip(type: Zip) {
193201
dependsOn asciidoctor, asciidoctorPdf
194202
duplicatesStrategy "fail"

spring-boot-project/spring-boot-docs/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ tasks.withType(org.asciidoctor.gradle.jvm.AbstractAsciidoctorTask) {
155155
}
156156
}
157157

158+
asciidoctor {
159+
attributes "revnumber": null
160+
}
161+
158162
asciidoctor {
159163
sources {
160164
include "*.singleadoc"
@@ -167,12 +171,20 @@ asciidoctorPdf {
167171
}
168172
}
169173

174+
asciidoctorPdf {
175+
attributes "revnumber": null
176+
}
177+
170178
task asciidoctorMultipage(type: org.asciidoctor.gradle.jvm.AsciidoctorTask) {
171179
sources {
172180
include "*.adoc"
173181
}
174182
}
175183

184+
asciidoctorMultipage {
185+
attributes "revnumber": null
186+
}
187+
176188
syncDocumentationSourceForAsciidoctor {
177189
dependsOn documentTestSlices
178190
dependsOn documentStarters

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,20 @@ asciidoctor {
8686
attributes "stylesheet": "css/style.css"
8787
}
8888

89+
asciidoctor {
90+
attributes "revnumber": null
91+
}
92+
8993
asciidoctorPdf {
9094
sources {
9195
include "index.adoc"
9296
}
9397
}
9498

99+
asciidoctorPdf {
100+
attributes "revnumber": null
101+
}
102+
95103
javadoc {
96104
options {
97105
author = true

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ asciidoctor {
6363
}
6464
}
6565

66+
asciidoctor {
67+
attributes "revnumber": null
68+
}
69+
6670
syncDocumentationSourceForAsciidoctorPdf {
6771
from(documentPluginGoals) {
6872
into "asciidoc/goals"
@@ -75,6 +79,10 @@ asciidoctorPdf {
7579
}
7680
}
7781

82+
asciidoctorPdf {
83+
attributes "revnumber": null
84+
}
85+
7886
javadoc {
7987
options {
8088
author = true

0 commit comments

Comments
 (0)