Using Gradle to build an application, I created a "src/dist/bin" folder for a shutdown.sh script to be packaged in the distribution zip. How can I set the fileMode so it can be executed? I already know how to set the fileMode using the copy task but in that case the script is copied by the distribution plugin.
Thanks