mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-29 11:29:07 +00:00
27 lines
580 B
Groovy
27 lines
580 B
Groovy
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'
|
|
}
|
|
} |