This question is unresolved / not answered. Because I’m stumbling over the same problem, I want to ask again: is there a way to keep timestamps when exploding from a zipTree (under Windows)? Using some closure?
I do not know much about the innards of Gradle and where to change anything. But the plain function should be easy to implement if you have the ZipEntry and the File handle.
I added the corresponding issue in JIRA to this question: GRADLE-2698. Please upvote the issue to give it a higher priority. Unfortunately, at the moment we are really clogged up with other commitments so I am not sure when we’ll get to it. A pull request would certainly help a lot.