Fix 'attributes' deprecation warning in spring-security-docs-guides

This commit is contained in:
Johnny Lim 2018-04-29 11:51:12 +09:00 committed by Rob Winch
parent 8d716f75a4
commit 44b22e7208
1 changed files with 15 additions and 18 deletions

View File

@ -2,10 +2,9 @@ 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 : '',
@ -18,8 +17,6 @@ asciidoctor {
'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 {