Fix typo in variable name

See gh-40770
This commit is contained in:
Piyal Ahmed 2024-05-16 10:46:26 +06:00 committed by Andy Wilkinson
parent 5e87fd8b11
commit dfc3b20afb

View File

@ -114,9 +114,9 @@ public abstract class GenerateAntoraPlaybook extends DefaultTask {
String locationName = getProject().getName() + "-${version}-${name}-${classifier}.zip"; String locationName = getProject().getName() + "-${version}-${name}-${classifier}.zip";
Path antoraContent = getRelativeProjectPath() Path antoraContent = getRelativeProjectPath()
.resolve(GENERATED_DOCS + "antora-content/" + locationName); .resolve(GENERATED_DOCS + "antora-content/" + locationName);
Path antoraDepenencies = getRelativeProjectPath() Path antoraDependencies = getRelativeProjectPath()
.resolve(GENERATED_DOCS + "antora-dependencies-content/" + locationName); .resolve(GENERATED_DOCS + "antora-dependencies-content/" + locationName);
zipContentsCollector.locations(antoraContent, antoraDepenencies); zipContentsCollector.locations(antoraContent, antoraDependencies);
zipContentsCollector.alwaysInclude(getAlwaysInclude().getOrNull()); zipContentsCollector.alwaysInclude(getAlwaysInclude().getOrNull());
}); });
extensions.rootComponent((rootComponent) -> rootComponent.name("boot")); extensions.rootComponent((rootComponent) -> rootComponent.name("boot"));