Make asciiDoctor gradle task generate reproducible output
This commit is contained in:
parent
0ed7163fd5
commit
0e777de14f
|
@ -64,6 +64,7 @@ task generateManpageAsciiDoc(type: JavaExec) {
|
|||
|
||||
apply plugin: 'org.asciidoctor.jvm.convert'
|
||||
asciidoctor {
|
||||
attributes 'reproducible': ''
|
||||
dependsOn(generateManpageAsciiDoc)
|
||||
sourceDir = file("${project.buildDir}/generated-picocli-docs")
|
||||
outputDir = file("${project.buildDir}/docs")
|
||||
|
@ -71,4 +72,4 @@ asciidoctor {
|
|||
outputOptions {
|
||||
backends = ['manpage', 'html5']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue