Why does gradle download two copies of gradle and how do I prevent it? -


my gradle_user_home set c:\gradle. android studio has created c:\gradle\wrapper\dists\gradle-2.2.1-bin\88n1whbyjvxg3s40jzz5ur27 copy of gradle v2.2.1, when run gradlew.bat command line, new folder c:\gradle\wrapper\dists\gradle-2.2.1-bin\3rn023ng4778ktj66tonmgpbv created exact same files. why?

i have different gradle distributions/versions, in c:\users\myusername.gradle\wrapper\dists\gradle-2.3-bin have 3 distributions.

maybe can come different versions of gradle-wrapper.jar in gradle wrapper folder.

following information gradle wrapper:

in directory gradle/wrapper parallel gradlew , gradlew.bat file gradle wrapper jar , gradle-wrapper.properties file. in gradle-wrapper.properties file define distribution url i.e.

distributionurl=http\://services.gradle.org/distributions/gradle-2.3-bin.zip 

to remote gradle distribution initial download. there -bin -all gradle versions. see http://services.gradle.org/distributions

if have other place of gradlew other gradle-wrapper.properties file different -all or -bin definition , / or different versions of gradle-wrapper.jar, maybe 2 different gradle distributions downloaded.

prevent it: define 1 same gradle distribution , gradle-wrapper.jar.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -