Specify javadoc/sources location in build file

I’m not sure if this is a Gradle problem or an IDE problem, but here goes:

I’m trying to work through this issue: https://github.com/dlew/joda-time-android/issues/25

There’s an artifact no-tzdb that is used but there are no javadoc/sources for it. I’d like to reference the base artifact’s javadoc/sources but I’m not sure how to do so.

Hi Daniel
If you use the gradle Eclipse plug-in to generate your .classpath files, you can always tweak it manually, thanks to the withXml method. It accepts a closure as parameter, which gets a XmlProvider as input. You can then add the correct information regarding sources and javadoc location (e.g. By looking for the wanted xml node and add the wanted attributes. It’s not that ugly to do so in groovy )
Unfortunately it is not better supported by the Eclipse plug-in at the moment. See https://docs.gradle.org/current/userguide/eclipse_plugin.html

Thanks for the advice, though I’m using IntelliJ/Android Studio at the moment. Any advice for that?

Same logic also applies on the Gradle Idea plugin I guess (https://docs.gradle.org/current/userguide/idea_plugin.html)
However I never used Intellij Idea so I’m not familiar with its configuration files and how they relate to the project’s classpath