From b17387770515a03c638e40a2a744e9594d71f1f4 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 10 Feb 2020 14:54:20 -0600 Subject: [PATCH] Fix missing asciidoctorPdf attributes Issue gh-7973 --- docs/manual/spring-security-docs-manual.gradle | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/manual/spring-security-docs-manual.gradle b/docs/manual/spring-security-docs-manual.gradle index 3f378acbee..c70f576dc1 100644 --- a/docs/manual/spring-security-docs-manual.gradle +++ b/docs/manual/spring-security-docs-manual.gradle @@ -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 {