Host OS: Ubuntu Linux 13.10, linux kernel 3.13 SDK tools version: 22.3 Android Studio 0.4.3 Gradle plugin 1.10
STEPS TO REPRODUCE: 1. Start a build of a (new) project requiring the download of a gradle-x.y-bin.zip package 2. For some reason the connection drops during the download, and the package is only partially downloaded (or maybe for some other reason the file is corrupted) 3. The connection is re-established
EXPECTED RESULTS: Gradle should recognize that the file is only partial (or maybe corrupted), and should download it again, or, better, restart the download from where it stopped
OBSERVED RESULTS: Gradle throws an IOException trying to extract the zip file, the build fails and there’s no way to make it work again but manually removing the partial zip file.
Thank you for the great work! Cheers