-
First I have tried to delete the existing file in Zip using exclude as below. But it do not remove the file
task alterZip(type: Zip) {
from zipTree(’$buildDir/zip/abc.zip’).matching {
exclude ‘application/configuration_files/abc.list’
}
} -
I have a doubt, what is the somepath in the below section.Is it full path to the file inside zip file ? I tried to use relative path inside zip file, but it did not copy any files to the given folder?
into(‘somepath’) {
from ‘overridepath/replaceme.xml’
}