Fix missing asciidoctorPdf attributes

Issue gh-7973
This commit is contained in:
Rob Winch 2020-02-10 14:54:20 -06:00
parent 0809c04aa2
commit b173877705
1 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@ apply plugin: 'io.spring.convention.dependency-set'
apply plugin: 'io.spring.convention.repository'
apply plugin: 'java'
asciidoctor {
asciidoctorj {
def ghTag = snapshotBuild ? 'master' : project.version
def ghUrl = "https://github.com/spring-projects/spring-security/tree/$ghTag"
attributes 'spring-security-version' : project.version,
@ -12,9 +12,7 @@ asciidoctor {
revnumber : project.version,
'gh-url': ghUrl,
'gh-samples-url': "$ghUrl/samples"
asciidoctorj {
attributeProvider resolvedVersions(project.configurations.testCompile)
}
attributeProvider resolvedVersions(project.configurations.testCompile)
}
docsZip {