Fix 'attributes' deprecation warning in spring-security-docs-guides
This commit is contained in:
parent
8d716f75a4
commit
44b22e7208
|
@ -2,24 +2,21 @@ apply plugin: 'org.asciidoctor.gradle.asciidoctor'
|
||||||
|
|
||||||
asciidoctor {
|
asciidoctor {
|
||||||
baseDir = file('src/docs/asciidoc')
|
baseDir = file('src/docs/asciidoc')
|
||||||
options = [
|
options eruby: 'erubis'
|
||||||
eruby: 'erubis',
|
|
||||||
attributes: [
|
attributes copycss : '',
|
||||||
copycss : '',
|
icons : 'font',
|
||||||
icons : 'font',
|
'source-highlighter': 'prettify',
|
||||||
'source-highlighter': 'prettify',
|
sectanchors : '',
|
||||||
sectanchors : '',
|
toc: '',
|
||||||
toc: '',
|
'toc-placement' : 'preamble',
|
||||||
'toc-placement' : 'preamble',
|
idprefix: '',
|
||||||
idprefix: '',
|
idseparator: '-',
|
||||||
idseparator: '-',
|
doctype: 'book',
|
||||||
doctype: 'book',
|
'spring-security-version' : project.version,
|
||||||
'spring-security-version' : project.version,
|
'download-url' : getDownloadUrl(),
|
||||||
'download-url' : getDownloadUrl(),
|
'include-maven-repository' : getMavenRepositoryInclude(),
|
||||||
'include-maven-repository' : getMavenRepositoryInclude(),
|
revnumber : project.version
|
||||||
revnumber : project.version
|
|
||||||
]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.spec = copySpec {
|
ext.spec = copySpec {
|
||||||
|
|
Loading…
Reference in New Issue