configurations.all {

// check for updates every build

resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’

}

dependencies {

compile group: “group”, name: “projectA”, version: “1.1-SNAPSHOT”, changing: true

}

https://discuss.gradle.org/t/how-to-get-gradle-to-download-newer-snapshots-to-gradle-cache-when-using-an-ivy-repository/7344