Problem about 'gradle wrapper '

I have installed gradle-2.2.1 on my computer, but when i execute ’ gradle wrapper --info’, i get the gradle-wrapper.properties 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=https://services.gradle.org/distributions/gradle-2.1-bin.zip

why the distributionUrl is not https://services.gradle.org/distributions/gradle-2.2.1-bin.zip

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.

cheers,
René

it is my mistake.Thank You~!

task wrapper(type: Wrapper) {

gradleVersion = ‘2.1’ }