Debug Gradle Source Code

I’m troubleshooting an identical issue to Changing module not expired when using Artifactory

I have a Changing Module (maven SNAPSHOT) as a dependency. Whenever a new snapshot is uploaded, my dependent project continues to use the stale version.

I turned off caching for changing modules via

configurations.all {
resolutionStrategy { cacheChangingModulesFor 0, ‘seconds’ }
}

To resolve this caching issue, I have to remove the module descriptor from ~/.gradle/caches/modules-2/metadata-2.31/descriptors/