Problem about 'gradle wrapper '

I have installed gradle-2.2.1 on my computer, but when i execute ’ gradle wrapper --info’, i get the as follows:

#Wed Dec 03 17:11:34 CST 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=

why the distributionUrl is not

Check your build script if you possibly set the wrapper version explicitly. If no version is declared explicitly the current gradle version will be used.


it is my mistake.Thank You~!

task wrapper(type: Wrapper) {

gradleVersion = ‘2.1’ }