There are properties to prohibit the download. Use like:
ideaModule {
downloadJavadoc = false
downloadSources = false
}
There is currently no way to not download the sources but still use them.
Rather than add this, I would rather Gradle remember that it couldn't find
javadocs/sources for a library and not keep searching for them. I'm not
sure how easy this would be, however. It's probably part of the general
artifact handling API overhaul that is coming in 1.0.
On Thu, Jul 15, 2010 at 9:41 AM, Andrey Chaschev <[email protected]> wrote:
>
> Hello,
>
> With a cache fulfilled it takes 6 mins "idea" task to complete. It always
> seaches for javadocs online and as a result can't find them on any of the
> repos.
>
> Is there a way to disable this functionality? This and downloading of
> sources. Downloading, but not adding sources to projects. So that I could
> once download all the sources available and then run with parameters like
>
> gradle idea --add-sources --no-sources-download --no-javadocs-download
>
> Thanks,
> A.
>
>
--
John Murph
Automated Logic Research Team