Create an empty directory when building a distributable zip


(amit shah) #1

I use the below two plugins for building my applications zip artifact

apply plugin: ‘java’ apply plugin: ‘java-library-distribution’

distributions {

main{

baseName = ‘webmonitor’

} }

What should I add in the above config such that a empty directory with a given name is created in the zip file built by “gradle distZip” ?