I am working on one gradle script where I need to create the zip file.Below are my contents in the workspace but I need few folder inside the zip file and the zip file should be create with name application-data-1.0.zip.I need only three folder inside that zip file data,sql and services .As per my understanding I need to use distribution plugin.Could someone tell me how could I do that?
-rw-r--r-- 1 jenkins jenkins 38 Mar 11 22:39 at.properties
drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 22:39 data
-rw-r--r-- 1 jenkins jenkins 38 Mar 11 22:39 pd.properties
-rw-r--r-- 1 jenkins jenkins 5532 Mar 11 22:39 maven.xml
-rw-r--r-- 1 jenkins jenkins 74384 Mar 11 22:39 pom.xml
-rw-r--r-- 1 jenkins jenkins 37 Mar 11 22:39 sbx.properties
-rw-r--r-- 1 jenkins jenkins 595 Mar 11 22:39 project.xml
-rw-r--r-- 1 jenkins jenkins 1020 Mar 11 22:39 project.properties
drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 22:39 sql
drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 22:39 services
-rw-r--r-- 1 jenkins jenkins 40 Mar 11 22:39 tst.properties
-rw-r--r-- 1 jenkins jenkins 5656258 Mar 26 15:51 application-data-1.0.zip