title: gradle - doLast closure not being executed when called from commandLine
body: <p>In my build.gradle i have the following lines of code:</p>
  
  <pre><code>    task aExecutionTask &lt;&lt; {
  
      println 'hello says aExecutionTask, via the execution phase'
  
  }
  
  
  
  task aConfigurationTask{
  
      println 'hello says aConfigurationTask, via the configuration phase'
      doLast{
          println 'im last to get done'
  
      }
  
  }
  </code></pre>
  
  <p>and when i run the aExecutionTask from the command line using </p>
  
  <p><code>./gradlew aExecutionTask
  </code> 
  the output is the following:</p>
  
  <pre><code>hello says aConfigurationTask, via the configuration phase
  :app:aExecutionTask
  hello says aExecutionTask, via the execution phase
  </code></pre>
  
  <p>Why did it not print out my doLast statement ? It clearly ran the task "aConfigurationTask" but it did not run its doLast. So then am i to understand that the aConfigurationTask was configured but not executed ? is that the concept ?</p>