I used to copy \'compile\' dependencies to a specific folder using this simple gradle task :
task copyLibs(type: Copy) {
from configurations.compile
I wanted to make a comment, but I'm still lacking the reputation required to do so (by one point!! >.< ). It doesn't look as if there's a way to acquire the list of implementation
dependencies and the compileClasspath
mentioned at the Gradle ticket Rafael posted won't work if you're working with Android directly, like my case where I need the dependencies to be exported so that Unity3D can package them up for release.
So.. it looks like the only solution in this case is to use the deprecated compile
type.