|
@@ -2,24 +2,21 @@ apply plugin: 'org.asciidoctor.gradle.asciidoctor'
|
|
|
|
|
|
asciidoctor {
|
|
|
baseDir = file('src/docs/asciidoc')
|
|
|
- options = [
|
|
|
- eruby: 'erubis',
|
|
|
- attributes: [
|
|
|
- copycss : '',
|
|
|
- icons : 'font',
|
|
|
- 'source-highlighter': 'prettify',
|
|
|
- sectanchors : '',
|
|
|
- toc: '',
|
|
|
- 'toc-placement' : 'preamble',
|
|
|
- idprefix: '',
|
|
|
- idseparator: '-',
|
|
|
- doctype: 'book',
|
|
|
- 'spring-security-version' : project.version,
|
|
|
- 'download-url' : getDownloadUrl(),
|
|
|
- 'include-maven-repository' : getMavenRepositoryInclude(),
|
|
|
- revnumber : project.version
|
|
|
- ]
|
|
|
- ]
|
|
|
+ options eruby: 'erubis'
|
|
|
+
|
|
|
+ attributes copycss : '',
|
|
|
+ icons : 'font',
|
|
|
+ 'source-highlighter': 'prettify',
|
|
|
+ sectanchors : '',
|
|
|
+ toc: '',
|
|
|
+ 'toc-placement' : 'preamble',
|
|
|
+ idprefix: '',
|
|
|
+ idseparator: '-',
|
|
|
+ doctype: 'book',
|
|
|
+ 'spring-security-version' : project.version,
|
|
|
+ 'download-url' : getDownloadUrl(),
|
|
|
+ 'include-maven-repository' : getMavenRepositoryInclude(),
|
|
|
+ revnumber : project.version
|
|
|
}
|
|
|
|
|
|
ext.spec = copySpec {
|