From dfc3b20afb0f9a6f63eb6edf794b8482e1c55270 Mon Sep 17 00:00:00 2001 From: Piyal Ahmed Date: Thu, 16 May 2024 10:46:26 +0600 Subject: [PATCH] Fix typo in variable name See gh-40770 --- .../boot/build/antora/GenerateAntoraPlaybook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/java/org/springframework/boot/build/antora/GenerateAntoraPlaybook.java b/buildSrc/src/main/java/org/springframework/boot/build/antora/GenerateAntoraPlaybook.java index 7b0211e69d2..f5dd4d80936 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/antora/GenerateAntoraPlaybook.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/antora/GenerateAntoraPlaybook.java @@ -114,9 +114,9 @@ public abstract class GenerateAntoraPlaybook extends DefaultTask { String locationName = getProject().getName() + "-${version}-${name}-${classifier}.zip"; Path antoraContent = getRelativeProjectPath() .resolve(GENERATED_DOCS + "antora-content/" + locationName); - Path antoraDepenencies = getRelativeProjectPath() + Path antoraDependencies = getRelativeProjectPath() .resolve(GENERATED_DOCS + "antora-dependencies-content/" + locationName); - zipContentsCollector.locations(antoraContent, antoraDepenencies); + zipContentsCollector.locations(antoraContent, antoraDependencies); zipContentsCollector.alwaysInclude(getAlwaysInclude().getOrNull()); }); extensions.rootComponent((rootComponent) -> rootComponent.name("boot"));