From fb1e56bb9208831eec319f687ae64cb2660aa723 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 4 Mar 2020 08:36:03 -0600 Subject: [PATCH] Ensure Asciidoctor attributes are configured for PDFs too. In previous versions of the Asciidoctor Gradle Plugin, Asciidoctor was an extension that was read by all Asciidoctor tasks. This meant that configuring the following impacted all Asciidoctor tasks (including PDF): asciidoctor { attributes ... } The latest version of Asciidoctor moved conventions to AsciidoctorJ. The reason for this is there was a task named 'asciidoctor' and a convention named 'asciidoctor' which caused confusion for users on which was being configured. This commit switches to the new 'asciidoctorj' convention/extension so that attributes are configured for all Asciidoctor tasks (i.e. both the 'asciidoctor' and 'asciidoctorPdf' tasks). --- spring-geode-docs/spring-geode-docs.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-geode-docs/spring-geode-docs.gradle b/spring-geode-docs/spring-geode-docs.gradle index 9b89d855..a2b5f9be 100644 --- a/spring-geode-docs/spring-geode-docs.gradle +++ b/spring-geode-docs/spring-geode-docs.gradle @@ -25,7 +25,7 @@ asciidoctorPdf { } } -asciidoctor { +asciidoctorj { def githubBaseUrl = "https://github.com/spring-projects/spring-boot-data-geode" def githubTag = snapshotBuild ? 'master' : project.version