Hi
I have some sh scripts that I want to package in a tar. Example tasks
using Wrapper are below. The issue is that gradlew has a+x permissions
in the directory before the tar, but when untarred it is -rw-r--r--.
How do you preserve execute permissions with a Tar task?
thanks,
Philip
task wrapper(type: Wrapper) {
gradleVersion = '0.8'
jarPath = 'gradleWrapper'
}
task testTarDist(type: Tar, dependsOn: 'wrapper') {
dirName = 'testWrapper'
tarFileSet(dir: '.') {
include('gradleWrapper/**')
include('gradlew')
include('gradlew.bat')
prefix = dirName
}
}
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email