Last active
November 8, 2017 20:04
-
-
Save mark-vieira/70c2d7139e24095cf3688b95e4b95811 to your computer and use it in GitHub Desktop.
Download maven deps to folder
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
repositories { | |
jcenter() | |
} | |
configurations { | |
jars | |
} | |
dependencies { | |
jars 'junit:junit:4.12' | |
} | |
task downloadJars(type: Copy) { | |
from { configurations.jars.resolvedConfiguration.lenientConfiguration.files } | |
into 'some/folder' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment