tarTree extracts all file types in tar.gz file properly with the exception of alias files on Mac OS

copy {
        from { 
            configurations.gdsdk.collect { tarTree(it) }
        }
        into "$rootDir/"
}

All files gets extracted properly including all the files in the sub-folders except for alias files.
The alias files get created, but have a file size of zero bytes.

However, when I execute the following command line from Terminal, the alias files extract properly with the proper file size: gunzip -c myFileName.tar.gz | tar xopf -

It looks like there’s an issue with tarTree.

Gradle Version: 2.13
Operating System: Mac OS 10.11.5
Is this a regression? If yes, which version of Gradle do you know it last worked for?