After updating gradle from 2.2.1 to any latter release 2.3 till 2.9 our build time increased from 15 to 25 minutes.
All all extra time according to profiling is spent on dependency resolution.
I published profiling reports, and dependency list from longest submodule: https://github.com/jurisz/gradle-reports
Project is quite big and have quite huge dependency graph.
Our testing shows that problem shows up only when dependency graph gets big.
When we setup smaller test project we can’t observe performance decrease.
Are there any options to speed up dependency resolution on larger sets?
Should configure dependency resolution caching for ResolutionStrategy?
Note we are also using
Do you notice any new deprecation warnings when upgrading from 2.2.1 to a later version? One change in 2.3 is that we sometimes need to resolve configurations which constructing the task graph, and then need to re-resolve if the configurations are modified during task execution.
It would be great if you could narrow this down a little, so we know if each resolution is taking longer, or if we’re doing more resolution.