title: Gradle task at the end of build with a multiproject build
body: <p>I am attempting to create my own task, that will create a package of all the artifacts generated during my multi-project build.</p>
  
  <p>Currently what I do right is now just:</p>
  
  <pre><code>gradle build createPackage
  </code></pre>
  
  <p>Which gives output like the following:</p>
  
  <pre><code>:test-utility:compileJava UP-TO-DATE
  :test-utility:processResources UP-TO-DATE
  ...
  :test-utility:check UP-TO-DATE
  :test-utility:build UP-TO-DATE
  Creating Package...
  Created.
  
  BUILD SUCCESSFUL
  
  Total time: 4.654 secs
  </code></pre>
  
  <p>With the <code>createPackage</code> task being:</p>
  
  <pre><code>task createPackage {    
      println "Creating Package..."
      println "Created."
  }
  </code></pre>
  
  <p>However, I would like to simply it by running just one command, so what would the best way to do this and ensure the order stays maintained? </p>
  
  <p>Ideally I would like to call <code>build</code> within the <code>createPackage</code> task or append to the <code>build</code> task with my task.</p>