Is there a way to refresh only changing dependencies?

I know ‘–refresh-dependencies’ refreshes all dependencies but is there a way to only refresh changing dependencies such as SNAPSHOT dependencies without refreshing all non-changing dependencies? On a high-latency connection, this can make a big difference.

Not from the command line, but you can set ‘configurations.all { resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’ }’ (or whatever TTL you prefer).