title: Gradle: How can I copy folder from another project in multi-project script?
body: <p>I have a multi-project script:</p>
  
  <pre><code>dependencies {
      compile '...'
      ...
  
      compile project(':component1')
      runtime project(':component2')
  }
  </code></pre>
  
  <p>I need to copy folder "bin" from component1 and component2 into folder "bin" of the current project.</p>
  
  <p>UPDATE: I need this to be able to "Run as"->"Run on Server" in Eclipse. Each project has Java code and Web UI files, and depends on other projects in workspace. "Deployment Assembly" does not allow copying of compiled classes from another project.</p>