Distribution Plugin: File Permissions

I am using the Distribution Plugin implicitly via the Application Plugin.

Suppose I have a script (or scripts) in my project located at:
src/dist/scripts/custom_script.sh

The scripts directory is included in the zip/tar distribution as expected, but I would like to take it a step further and make custom_script.sh be executable by default. I have successfully achieved this behavior with files that reside outside of src/dist.

e.g.

distributions {
    main {
        contents {
            from('.') {
                fileMode 0755
                include 'some/dir/do_stuff.sh'
            }
        }
    }
}

I am struggling to find a simple way to achieve the same result with scripts inside src/dist, however.

Grateful for any input/pointers. Thanks in advance!