Change path in zip-tasks to relative path

This commit is contained in:
Blue (Lukas Rieger) 2019-12-29 16:41:30 +01:00
parent 22adf36a44
commit c499c778a5
1 changed files with 2 additions and 2 deletions

View File

@ -12,14 +12,14 @@ dependencies {
task zipWebroot(type: Zip) {
from fileTree('src/main/webroot')
archiveName 'webroot.zip'
destinationDir(file('/src/main/resources/'))
destinationDir(file('src/main/resources/'))
outputs.upToDateWhen { false }
}
task zipResourceExtensions(type: Zip) {
from fileTree('src/main/resourceExtensions')
archiveName 'resourceExtensions.zip'
destinationDir(file('/src/main/resources/'))
destinationDir(file('src/main/resources/'))
outputs.upToDateWhen { false }
}