List dependencies location (run with gradle listdeps
):
task listdeps {
configurations.runtime.files.each { print it; print '\n' }
}
Put dependencies into a local folder 'lib':
task(getjars, type: Copy) {
into "lib"
from configurations.runtime
}