Use absolute path to resolve the spring.css Stylesheet and workaround issues in the Spring Build Conventions Gradle Plugin 0.0.28.RELEASE.

This commit is contained in:
John Blum
2020-03-03 04:44:07 +01:00
parent 2fd6729dcd
commit 428aa46fd0

View File

@@ -17,6 +17,8 @@ dependencies {
}
def versions = dependencyManagement.managedVersions
def relativePathToSpringCss = "css/spring.css"
def pathToSpringCss = new File(project.getBuildDir(), relativePathToSpringCss).getAbsolutePath()
asciidoctor {
@@ -28,6 +30,7 @@ asciidoctor {
'download-url' : "https://github.com/spring-projects/spring-session-data-geode/archive/${ghTag}.zip",
'docinfodir@': ".",
'highlightjsdir@': "js/highlight",
'stylesheet' : pathToSpringCss,
// 'spring-version' : "$springVersion",
'spring-version' : versions['org.springframework:spring-core'],
'spring-data-commons-version' : "$springDataCommonsVersion",