Skip to content

Commit

Permalink
Make asciiDoctor gradle task generate reproducible output
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Nov 15, 2022
1 parent 0ed7163 commit 0e777de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sop-java-picocli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ 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")
logDocuments = true
outputOptions {
backends = ['manpage', 'html5']
}
}
}

0 comments on commit 0e777de

Please sign in to comment.