Download sources and javadoc of dependencies.
--- a/gradle.rst Wed Mar 08 16:31:24 2017 +0200
+++ b/gradle.rst Wed Mar 15 01:00:46 2017 +0200
@@ -187,3 +187,22 @@
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
+Download sources and javadoc of dependencies
+============================================
+
+To download sources and javadoc of dependencies to local ``~/.gradle`` cache add
+``idea`` plugin to your ``build.gradle``::
+
+ apply plugin: 'idea'
+ idea.module.downloadJavadoc = true
+ idea.module.downloadSources = true
+
+and invoke plugin::
+
+ $ gradle idea
+
+To wipe out Idea projects file after plug-in run::
+
+ $ gradle cleanIdea
+
+