I need to create Tar archive and want to make ONE file executable (file mode: 755) and leave permissions for other files as is. When I do it in the following way this permission (755) is applied to each file in the archive. What do I wrong?
Converting class org.gradle.api.internal.file.copy.DefaultCopySpec_Decorated to File using toString() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use java.io.File, java.lang.String, java.net.URL, or java.net.URI instead.
:uiDistTar UP-TO-DATE
And the tar is never built if I remove the excludes marked // 1 and the second from the tarball builds just fine.