[Android | Gradle] How to resolve issues with cached dependencies
by Riley MacDonald, January 5, 2018
As a library developer I want to build my latest library/dependency changes within my test applications. Sometimes Gradle will cache dependencies aggressively causing issues in development and testing. I use the following `resolutionStrategy` to ensure I’m building against my latest library changes:
configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds' } |