title: Executing gradle build tasks in custom tasks
body: <p>I have a custom task in gradle Called release and I want this task to execute the clean and build tasks:</p>
  
  <pre><code>task release
  {
      //do something
      clean
      build
  }
  </code></pre>
  
  <p>I know it is possible to call tasks from command line like </p>
  
  <pre><code>gradle build release
  </code></pre>
  
  <p>But I want to know  wether it is possible to execute build tasks within custom tasks?</p>