This message was deleted.
# plugin-development
s
This message was deleted.
v
Iirc just an internal helper you can use for it but not an officially sanctionated API
I think what I have in mind is
zipTo
in the
kotlin-dsl
m
guess I'll rely on
ZipFileSystem
dang, not so easy... more specifically I want to be able to create either a zip, or tarball
v
Make a
Zip
task and a
Tar
task and create both if the user chooses so. 🙂
m
I can't... because I need the zip to be created in a build service
so before any task is created
this is for tests, I want to check that my plugin works with different file formats. I have a flat dir, but I need to check it will also work with zips or tarballs as inputs.
v
Ah, I see.
m
now the easiest just seems to create the archives beforehand. But whatever I do, I need to create an archive
actually I went in 2 phases. I created tasks for each format, then I run my test in 2 phases. The first one simply creates the task, so that the 2d run, which uses tasks which consume the build service, have the zip at hand. It Just Works ™️
👌 1