title: How to copy directory in Gradle preserving symlinks?
body: <p>The following gradle task copies directory but resolves all symlinks. This is unacceptable. I want to preserve.</p>
  
  <pre><code>task test {
      doLast {
          copy {
              from 'source'
              to 'destination'
          }
      }
  }
  </code></pre>
  
  <p>What can be done about it?</p>