Created
April 17, 2015 05:47
-
-
Save mraible/8b85ed8f06c608e8e0e6 to your computer and use it in GitHub Desktop.
Asciidoctor for The JHipster Mini-Book
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-epub3:1.5.0-alpha.4' | |
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.6' | |
} | |
} | |
apply plugin: 'java' | |
apply plugin: 'org.asciidoctor.convert' | |
version = '1.0.0-SNAPSHOT' | |
asciidoctorj { | |
version = '1.5.2' | |
} | |
asciidoctor { | |
backends 'html5', 'pdf', 'epub3' | |
attributes 'sourcedir': project.sourceSets.main.java.srcDirs[0], | |
'endpoint-url': 'http://www.jhipster-book.com/', | |
'source-highlighter': 'coderay', | |
'imagesdir': './images', | |
'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
Thanks for the tips @mojavelinux!