Commit 210e5657 authored by Andy Wilkinson's avatar Andy Wilkinson

Use dirMode and fileMode to configure CLI archive entry permissions

Closes gh-21453
parent d30a0ee8
...@@ -131,10 +131,11 @@ def configureArchive(archive) { ...@@ -131,10 +131,11 @@ def configureArchive(archive) {
into "lib/" into "lib/"
} }
archive.from(file("src/main/content")) { archive.from(file("src/main/content")) {
eachFile { it.mode = it.directory ? 0755 : 0644 } dirMode = 0755
fileMode = 0644
} }
archive.from(file("src/main/executablecontent")) { archive.from(file("src/main/executablecontent")) {
eachFile { it.mode = 0755 } fileMode = 0755
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment