Last active
August 14, 2017 12:10
-
-
Save tynn/fff8ecb826f8ef243182dc2b22efff04 to your computer and use it in GitHub Desktop.
Download a dependency with `gradle -q -b get.deps -P dep='groupId:artifactId:revision'`
This file contains 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
// 2017 CC0 http://creativecommons.org/publicdomain/zero/1.0/ | |
repositories { | |
jcenter() | |
mavenCentral() | |
maven { url 'https://jitpack.io' } | |
maven { url 'https://maven.google.com' } | |
} | |
configurations { | |
deps | |
} | |
dependencies.deps(project.dep).transitive false | |
task getDeps(dependsOn: ':dependencies') | |
defaultTasks 'getDeps' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment