I have a gradle zip task that looks like this:
task makeZipDev(type: Zip){
from 'solr_config/solr_home'
excludes ['*/shop/product/data/' ]
archiveName 'solr-home.zip'
destinationDir(file('/docker/solr-dev/'))
}
I want to exclude everything the whole */shop/product/data/ folder from being zipped. And using excludes, as specified.