mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-25 16:42:07 +01:00
Make asciiDoctor gradle task generate reproducible output
This commit is contained in:
parent
0ed7163fd5
commit
0e777de14f
1 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ task generateManpageAsciiDoc(type: JavaExec) {
|
||||||
|
|
||||||
apply plugin: 'org.asciidoctor.jvm.convert'
|
apply plugin: 'org.asciidoctor.jvm.convert'
|
||||||
asciidoctor {
|
asciidoctor {
|
||||||
|
attributes 'reproducible': ''
|
||||||
dependsOn(generateManpageAsciiDoc)
|
dependsOn(generateManpageAsciiDoc)
|
||||||
sourceDir = file("${project.buildDir}/generated-picocli-docs")
|
sourceDir = file("${project.buildDir}/generated-picocli-docs")
|
||||||
outputDir = file("${project.buildDir}/docs")
|
outputDir = file("${project.buildDir}/docs")
|
||||||
|
@ -71,4 +72,4 @@ asciidoctor {
|
||||||
outputOptions {
|
outputOptions {
|
||||||
backends = ['manpage', 'html5']
|
backends = ['manpage', 'html5']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue