Workaround duplicate adoc files.

guides/*.adoc are copied to guides/*.adoc and ./ when being processed. This breaks links to JavaScript.
To workaround this, we explicitly state which sources we want to process and avoid the copy found in './'.

See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/80
This commit is contained in:
Rob Winch
2020-03-04 08:41:18 -06:00
committed by John Blum
parent fb1e56bb92
commit a0280fba46

View File

@@ -25,6 +25,14 @@ asciidoctorPdf {
}
}
asciidoctor {
clearSources()
sources {
include "index.adoc"
include "guides/*.adoc"
}
}
asciidoctorj {
def githubBaseUrl = "https://github.com/spring-projects/spring-boot-data-geode"