Allow a zipTree or tarTree to be created from the output of a task #10072
Labels
a:feature
A new functionality
in:configuration-model
lazy api, domain object container
in:provider-api
property lazy provider MapProperty ListProperty DirectoryProperty
The
zipTree()
andtarTree()
methods discard any details about the tasks that produce the archive, making it very difficult to create a tree from an archive that is built by a task.Expected Behavior
Provide an easy way to take a zip or tar archive produced by a task, represented as a
Provider
, and map it to aFileTree
that honors the producing task information. Ideally, querying the contents of the tree would fail with a nice message if the task has not yet completed in this build.Current Behavior
The
FileTree
discard producer task information.Context
The text was updated successfully, but these errors were encountered: