Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

untar and unxz #311

Closed
OctavianIonel opened this issue Mar 23, 2023 · 1 comment
Closed

untar and unxz #311

OctavianIonel opened this issue Mar 23, 2023 · 1 comment

Comments

@OctavianIonel
Copy link

hello,
I want to create a gradle task to take a *.tar.xz file and unarchive it.
Can you help me how to do that?
Thanks

@michel-kraemer
Copy link
Owner

Have a look at the following example:
https://github.com/michel-kraemer/gradle-download-task/blob/master/examples/groovy/unzip/build.gradle

Replace zipTree with tarTree and you should be good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants