Skip to content

Instantly share code, notes, and snippets.

@tlberglund
Created September 13, 2012 11:01
Show Gist options
  • Save tlberglund/3713587 to your computer and use it in GitHub Desktop.
Save tlberglund/3713587 to your computer and use it in GitHub Desktop.
Demo of Capturing Dependencies in Gradle
repositories {
mavenCentral()
}
configurations {
download
}
dependencies {
download('org.appfuse:appfuse-spring:2.1.0') {
transitive = false
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.2'
}
task captureDependencies(type: Copy) {
from configurations.download
into 'build/stuff'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment