title: how to copy the dependencies libraries JARs in gradle
body: <p>i got a runnable jar with this build.gradle</p>
  
  <pre><code>apply plugin: 'java'
  apply plugin: 'application'
  
  manifest.mainAttributes("Main-Class" : "com.test.HelloWorld")
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile (
          'commons-codec:commons-codec:1.6',
          'commons-logging:commons-logging:1.1.1',
          'org.apache.httpcomponents:httpclient:4.2.1',
          'org.apache.httpcomponents:httpclient:4.2.1',
          'org.apache.httpcomponents:httpcore:4.2.1',
          'org.apache.httpcomponents:httpmime:4.2.1',
          'ch.qos.logback:logback-classic:1.0.6',
          'ch.qos.logback:logback-core:1.0.6',
          'org.slf4j:slf4j-api:1.6.0',
          'junit:junit:4.+'
      )
  }
  </code></pre>
  
  <p>but it run failed, because the dependencies jars can't find.</p>
  
  <p>and then i add this code:</p>
  
  <pre><code>task copyToLib(type: Copy) {
      into "$buildDir/output/libs"
      from configurations.runtime
  }
  </code></pre>
  
  <p>but nothing change...i can't find the folder output/libs...</p>
  
  <p>how can i copy the dependencies libs jars to a specified folder or path?</p>