I use the following repository definition in ~/.gradle/init.gradle

      repositories {
        mavenRepo(name: 'repo', urls: "
https://artifactory.local/artifactory/repo";).setSnapshotTimeout(600000)
      }

>From the source:

* @param snapshotLifetime The lifetime in ms

However, if I build and upload an upstream project to my snapshots repo,
building downstream projects 2 hours later does not retrieve the new
snapshots. If I set snapshotTimeout to 0, it downloads new snapshots.  How
does the caching work, and is this the correct strategy for achieving this.
If downstream project grabs some snapshots, should the projects not check
for new versions 10 minutes after that build?

Reply via email to