Circumventing gradlew connection timed outs
If like me you're having problems getting a gradle distribution via gradlew, perhaps becuaseof a shaky connection, download the target distribution e.g. https://downloads.gradle.org/distributions/gradle-2.2-all.zip and copy it to
$HOME/.gradle/wrapper/dists/gradle-<VERSION>-all/<random string>/gradle-<VERSION>-all.zip.
Check the $HOME/.gradle/wrapper/dists/gradle-<VERSION>-all/
directory to determine the random directory name
Written by Larry Weya
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Java
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#