Merge pull request #40770 from PiyalAhmed

* gh-40770:
  Fix typo in variable name

Closes gh-40770
This commit is contained in:
Andy Wilkinson
2024-05-16 13:57:02 +01:00

View File

@@ -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"));