How can I access compile/runtime dependencies in my scripts

Hi,

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: http://forums.gradle.org/gradle/topics/right_way_to_copy_contents_from_dependency_archives

that works great

Thank you