Is there any ways to troubleshoot "Dependency Resolution take amount of time"?

Current we use gradle 8.9, and find sometimes Dependency Resolution take amount of time.
we already use nexus mirror repository.

I test multiple times with “–profile”:

1.All dependencies 1h17m54.60s
2.All dependencies 9m31.40s
3.All dependencies 27m7.80s
4.All dependencies 15.316s <-------- should be correct
5.All dependencies 14.157s <-------- should be correct

Is there any ways to troubleshoot problems like this ?

Maybe you can see with --info or --debug why Gradle thinks it needs to download?

is the time of “Dependency Resolution” contains the " download artifacts stage"?

Hm, I think it should not, but I’m not sure. :-/