I’m in the process of building an Ivy repository for exclusive use by gradle, with my own ivy.xml definitions for the dependencies. A must-have feature will be generating eclipse classpath files with sources attached to all opensource dependency jar files.
Can anyone outline how the ivy modules must be defined so that source artifacts are mapped to the corresponding jar artifacts (and not recognized as independent artifacts)?
I guess the ivy artifact type should be source, but what else? Is a certain configuration expected? How must the names of the source and jar artifacts relate? Can there be a single source archive for several jar artifacts in a single ivy module?
Any explanation, pointer to documentation or even the right part of the gradle source is appreciated.