I’ve created a task of type zip. It seems to me that the task is executed in configuration phase every time. I thought changing:
task createZip1(type: Zip) {
to
task createZip1(type: Zip) << {
might solve the problem, but the zip isn’t created in this case. I simply want to define several zip-Task, that zip information in my project directory and i want to execute them with “gradle -q createZip1”. It thought that this would be that hard. What i’m doing wrong?
Thanks