[GRADLE-1894] Gradle trying to download sources & javadocs for all dependencies results in a very slow build Created: 04/Nov/11 Updated: 14/Jan/16 Resolved: 05/Nov/11
I am using Artifactory to resolve all project dependencies. I have a multi-module project with several dependencies.
There should be some configuration for not to look for sources and javadocs by default unless instructed. And why is the build looking up for sources and javadocs. Generally, it is done when you are setting up IDE projects.
Command used: gradle build -x test --stacktrace --debug
Snipplet from the build:
[DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] trying http://repo.xyx.com/artifactory/repo/com/oracle/ojdbc6/18.104.22.168.0/ojdbc6-22.214.171.124.0-sources.jar15:28:15.867 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] tried http://repo.xyx.com/artifactory/repo/com/oracle/ojdbc6/126.96.36.199.0/ojdbc6-188.8.131.52.0-sources.jaratform:ctld-parent:ctld-services:ctld-bo:compile'
|Comment by Trejkaz [ 14/Jan/16 ]|
I have noticed the issue with this being slow as well, but I see it even for existing files, not just missing ones.
We also use Artifactory. I'm sure it isn't a coincidence. My theory was that Artifactory could be caching these things, but for whatever stupid reason is not doing so.