For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getDestinationDirectory

@Internal(value = "Represented by the archiveFile")
abstract fun getDestinationDirectory(): DirectoryProperty(source)

The directory where the archive will be placed.

Since

5.1