How can I access compile/runtime dependencies in my scripts


(Juan Ignacio Barsola) #1

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


(sethgoings) #2

Take a look at: http://forums.gradle.org/gradle/topics/right_way_to_copy_contents_from_dependency_archives


(Juan Ignacio Barsola) #3

that works great

Thank you