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.

zipTree

abstract fun zipTree(zipPath: Any): FileTree(source)

Creates a read-only FileTree which contains the contents of the given ZIP file, as defined by zipTree.

Return

the file tree. Never returns null.

Since

6.6

Parameters

zipPath

The ZIP file. Evaluated as per file.