How do I download my Gradle project external dependencies to a specific folder?
问题 I want to download my dependencies to a specific folder in my build as part of my build process e.g. build/lib . I can't find documentation which shows how to do this, I'm sure there is a straightforward way to do it that I'm missing. My current(shortened) build.gradle is the following. The project compiles and executes test correctly. apply plugin: 'java' apply plugin: 'maven-publish' repositories { mavenCentral() } dependencies { compile( 'aopalliance:aopalliance:1.0', 'log4j:log4j:1.2.17',