title: Gradle Tasks Difference
body: <p>What's the difference between the following two code snippets?</p>
  
  <p>First: </p>
  
  <pre><code>task copyFiles(type: Copy) &lt;&lt; {
    from "folder/from"
    into "dest/folder"
  }
  </code></pre>
  
  <p>Second:</p>
  
  <pre><code>task copyFiles(type: Copy) {
    from "folder/from"
    into "dest/folder"
  }
  </code></pre>