Sten Roger Sandvik-2 wrote: > > In my build I need to collect all dependencies from [compile, runtime] > including javadoc and sources (if they are there). All the files will then > be put into a directory. Is it an easy solution for this? I know the > Eclipse > and Idea plugin does this, but it does not seem to be a very elegant > solution. Or am I missing something? :-) >
There is no convenient way to get source and Javadoc Jars for external dependencies at the moment. You'll have to do what the IDE plugins do - programmatically create a new configuration, add (hypothetical) source and Javadoc Jars for every external dependency to the configuration, and resolve the configuration. -- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/Collect-source-javadoc-and-binary-dependencies-tp3341032p4330746.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
