I have a multi-java-project setup in Eclipse with a few libraries which do not exist in any repository that I know of. So I have a global ‘lib’ directory where I store the binary and source archives. A few projects then declare some file dependencies when necessary.
Is there a way to configure the eclipse plugin so that when generating the .classpath file, it includes the location of the source jar and/or the javadoc for the file dependencies? I checked the SelfResolvingDependency interface definition and I didn’t see anything that could help me do that so I’m guessing that’s not possible.
If I’m not mistaken, Gradle 1.12 will do this automatically for file dependencies whose sources Jars have a ‘sources’ classifier, and whose Javadoc Jars have a ‘javadoc’ classifier.