Why do I have multiple gradle wrapper distributions downloaded (of the same version)?

吃可爱长大的小学妹 提交于 2019-12-10 21:27:27

问题


I'm looking around in my ~/.gradle folder (relocated to P:\caches\gradle, which doesn't affect this behaviour) and I found some strange folders.

In the past I have updated multiple projects from 2.0 to 2.1 via running gradle wrapper which updated project\gradle\wrapper\gradle-wrapper.properties

I just found out that for some reason the exact same distributionUrl zip file was downloaded multiple times. As you can see they all have the same size and I did a binary diff, they're the same bit by bit except the timestamps:

The contents of each folder above look like this:

I just updated from 2.2 to 2.2.1 and it happened again: this time it's 2 folders not 3. Does anyone know why this happens?

I'm using Gradle from both IntelliJ Idea and the command line.

来源:https://stackoverflow.com/questions/27551540/why-do-i-have-multiple-gradle-wrapper-distributions-downloaded-of-the-same-vers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!