Maven Micro-Tip: Get sources and Javadocs
When you're using Maven in an IDE you often find the need for your IDE to resolve source code and Javadocs for your library dependencies. There's an easy way to accomplish that goal.
mvn dependency:sources mvn dependency:resolve -Dclassifier=javadoc
The first command will attempt to download source code for each of the dependencies in your pom file.
The second command will attempt to download the Javadocs.
Maven is at the mercy of the library packagers here. So some of them won't have source code packaged and many of them won't have Javadocs.
I want to get all javadoc and sources in Gradle. For this I have got the command
downloadSources=true
downloadJavadoc=true
But it is not downloading sources of all dependendent jars. Could you please help me : What will be the gradle command?
I have got some links which are related to Maven. But I don't get anything in Gradle.
Related links for Maven:
I have also follow this link for gradle. But it is not downloading dependent sources and javadocs. So please suggest me.
Anykind of help will be highly appreciated.