Option 1: Use --refresh-dependencies flag Generally, you can refresh dependencies in your cache with the command line option --refresh-dependencies. Note that --refresh-dependencies won't always re-download every artifact; it will use existing copies if they match what exists in the repository. From the Gradle User Guide, refreshing dependencies: The --refresh-dependencies option tells Gradle to i

