Create a fat jar downloading jar dependencies into a lib folder

Im not sure if this is possible, I need that my dependencies jars are downloaded to a lib folder and then declaring a class path to this jars, right now Im able to create my fat jar, but my requirements want a more ‘clean’ jar instead of something like:

myproject/com/dependency1/foo
myproject/com/dependency1/daa
myproject/com/dependency2/pck/
myproject/com/dependency2/pck/mm
myproject/com/dependency2/pck/… n
myproject/com/dependency3/tttt

to have something like:
myproject/lib/dependency1.jar
myproject/lib/dependency2.jar
myproject/lib/dependency3.jar

I know that on shadow plugin you can declare the classpath on the manifest using something like:

dependency{
shadow ´my:dependency1:1.0´
}

but I don´t know if there is a way to do the first part, when I try to look for this topic, is usally to load a jar file in a lib folder, but I want to store the jar into a lib folder and then load them.

Thank you for any help