How can I access compile/runtime dependencies in my scripts


I’m running a java project. I need to copy all compile/runtime dependencies, including gradle generated jars, to some directory. This task should be executed at the end of the build process.

My question is:

How can I reference that set of sependencies from within my task? More specifically, What should I put in the “from” part my copy task?

Thank you in advance, J. Ignacio

Take a look at:

that works great

Thank you