Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created November 13, 2012 07:37
Show Gist options
  • Save xconnecting/4064504 to your computer and use it in GitHub Desktop.
Save xconnecting/4064504 to your computer and use it in GitHub Desktop.
Gradle: collect depenentjars into a directory in the project
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
dependencies { compile 'commons-lang:commons-lang:2.6' }
repositories {
mavenCentral()
}
task copyLib(type: Copy){
from configurations.compile
into 'lib'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment