Created
September 13, 2012 11:01
-
-
Save tlberglund/3713587 to your computer and use it in GitHub Desktop.
Demo of Capturing Dependencies in Gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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