Created
November 11, 2015 10:39
-
-
Save fwilhe/241e17f7789be93e61da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2' | |
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.8' | |
} | |
} | |
plugins { | |
id 'org.asciidoctor.convert' version '1.5.2' | |
} | |
apply plugin: 'org.asciidoctor.convert' | |
defaultTasks 'asciidoctor' | |
asciidoctor { | |
backends 'pdf', 'html5' | |
attributes 'build-gradle': file('build.gradle'), | |
'endpoint-url': 'http://example.org', | |
'source-highlighter' : 'coderay', | |
'toc':'left', | |
'icons': 'font', | |
'setanchors':'true', | |
'idprefix':'', | |
'idseparator':'-', | |
'docinfo1':'true' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment