How to list all transitive external module dependencies without downloading its artifacts

I’ve tried multiple ways to list all transitive external module dependencies of a specific external module without downloading the modules themselves.

Is there a way to tell Gradle to visit all dependencies by just downloading its metadata but not its artifacts? thanks