project A:
0.0.1.BUILD-SNAPSHOT
project B:
depends on "0.0.1-BUILD-SNAPSHOT"
Whenever the “project A” is updated and uploaded to the repo ( via uploadArchives { repositories.mavenDeployer … } ), “project B” does not pick up a “fresh” 0.0.1.BUILD-SNAPSHOT version of the “project A”, but rather uses the one in a cache.
This is certainly working in Milestone-8, and I’d be surprised if it regressed in the build you are using.
By default, SNAPSHOT dependencies are cached and updated once every 24 hours. If you require a SNAPSHOT dependency to be updated on every build, you can do:
that are NOT. Hence in IDEA, unless I run tests, I see no changes to the file. Any way Gradle can update “BUILD-SNAPSHOT” and “BUILD-SNAPSHOT-sources”?
There’s not really a way to do this at this time. As a one-off, try running Gradle with ‘–refresh=dependencies’. This will update all of the cached dependencies.
Gradle is smart about this, and will only download the dependencies if they have changed, based on published *.sha1 files.