Hi all,
I'm using the eclipse task to automatically generate .project and .classpath
files and it works fine. However, my goal is to create eclipse projects that
can be shared among different users, so I'd like to tweak the default
behaviour of gradle in order to:
1.- Have my dependencies copied into an specified directory
2.- Make .classpath point to the libraries in that directory, but not those
in MY_HOME_FOLDER/.gradle/cache/foo
How can I configure gradle to do these things?
I have already workarounded the first point with something like this:
dependencies.resolve("runtime").each {
file -> FileUtils.copyFileToDirectory(file, webInfLibDir)
}
but I'm sure it exists a more elegant way to get it done :)
BTW, I'm using gradle 0.4
Thanks in advance
Rafa
--
View this message in context:
http://www.nabble.com/Change-location-of-libraries-in-.classpath-tp20151676p20151676.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email