Use dirMode and fileMode to configure CLI archive entry permissions

Closes gh-21453
pull/21673/head
Andy Wilkinson 5 years ago
parent d30a0ee811
commit 210e565741

@ -131,10 +131,11 @@ def configureArchive(archive) {
into "lib/"
}
archive.from(file("src/main/content")) {
eachFile { it.mode = it.directory ? 0755 : 0644 }
dirMode = 0755
fileMode = 0644
}
archive.from(file("src/main/executablecontent")) {
eachFile { it.mode = 0755 }
fileMode = 0755
}
}

Loading…
Cancel
Save