[GRADLE-947] Add gzip support to TarFileTree Created: 26/May/10  Updated: 04/Jan/13  Resolved: 09/Dec/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 1.0-milestone-7

Type: Improvement
Reporter: Brian Sanders Assignee: Unassigned
Resolution: Fixed Votes: 4


The TarFileTree class and the Project.tarTree() method produce some really succinct code, as in:

task foo(type: Copy)

{ from tarTree('foo.tar') to 'destdir' }

It would be great if this was extended to support gzip'ped tarballs, as well.

Comment by Szczepan Faber [ 21/Oct/11 ]

I found many use cases for that at the client's. Without that feature the builds are cluttered with ant builder stuff, interim temp folders are used and generally accidental complexity raises.

Also since gradle can produce gzips it should be nice if it could also read them easily

Comment by Ben Jansen [ 24/Oct/11 ]

FWIW, I submitted a patch that implements this functionality.


Generated at Wed Jun 30 11:42:58 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.