|
|
@ -80,8 +80,8 @@ dokka { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
task downloadResources(type: Download) { |
|
|
|
task downloadResources(type: Download) { |
|
|
|
def version = "0.1.2.RELEASE" |
|
|
|
def version = "0.1.3.BUILD-SNAPSHOT" |
|
|
|
src "https://repo.spring.io/release/io/spring/docresources/" + |
|
|
|
src "https://repo.spring.io/snapshot/io/spring/docresources/" + |
|
|
|
"spring-doc-resources/$version/spring-doc-resources-${version}.zip" |
|
|
|
"spring-doc-resources/$version/spring-doc-resources-${version}.zip" |
|
|
|
dest project.file("$buildDir/docs/spring-doc-resources.zip") |
|
|
|
dest project.file("$buildDir/docs/spring-doc-resources.zip") |
|
|
|
onlyIfModified true |
|
|
|
onlyIfModified true |
|
|
@ -124,7 +124,7 @@ asciidoctor { |
|
|
|
'sectnums': '', |
|
|
|
'sectnums': '', |
|
|
|
'source-highlighter=highlight.js', |
|
|
|
'source-highlighter=highlight.js', |
|
|
|
'highlightjsdir=js/highlight', |
|
|
|
'highlightjsdir=js/highlight', |
|
|
|
'highlightjs-theme=atom-one-dark-reasonable', |
|
|
|
'highlightjs-theme=github', |
|
|
|
stylesdir: "css/", |
|
|
|
stylesdir: "css/", |
|
|
|
stylesheet: 'stylesheet.css', |
|
|
|
stylesheet: 'stylesheet.css', |
|
|
|
'spring-version': project.version |
|
|
|
'spring-version': project.version |
|
|
|