title: Why doesnt gradle wrapper task get exectuted?
body: <p>I am following this tutorial </p>
  
  <p><a href="http://spring.io/guides/gs/gradle/" rel="nofollow">http://spring.io/guides/gs/gradle/</a></p>
  
  <p>And I have created a file named build.gradle. It has a task named wrapper defined as follows:</p>
  
  <pre><code>task wrapper(type: Wrapper) {
      gradleVersion = '1.8'
  }
  </code></pre>
  
  <p>I havenot installed gradle in my machine as the site  mentioned above states that gradle shouldnot be installed.However gradle command is not recognized and the wrapper task isn't executed.</p>
  
  <p>Could someone help me how to build projects with gradle wrapper task.</p>
  
  <p>And also how does machine which has no gradle installed recognise gradle command without it being installed?</p>