123456789101112131415161718192021222324252627 |
- apply plugin: 'asciidoctor'
- asciidoctor {
- options = [
- eruby: 'erubis',
- eruby: 'erubis',
- attributes: [
- copycss : '',
- icons : 'font',
- 'source-highlighter': 'prettify',
- sectanchors : '',
- toc2: '',
- idprefix: '',
- idseparator: '-',
- doctype: 'book',
- 'spring-security-version' : project.version,
- revnumber : project.version
- ]
- ]
- }
- ext.spec = copySpec {
- into ('guides') {
- from(asciidoctor.outputDir)
- exclude 'build', 'Guardfile'
- }
- }
|