title: How to copy directory via scp within gradle task?
body: <p>What is a clean and elegant way to copy a bunch of files via scp with Gradle?</p>
  
  <p>Two ways I currently see are:</p>
  
  <ul>
  <li>Using Apache Wagon, as described here: <a href="http://markmail.org/message/2tmtaffayhq25g4s">http://markmail.org/message/2tmtaffayhq25g4s</a></li>
  <li>Executing scp via command line with the Exec task</li>
  </ul>
  
  <p>Are there any better (more obvious) ways to approach this?</p>