On 08/03/2011, at 1:23 PM, Luke Daley wrote: > > On 08/03/2011, at 11:51 AM, Adam Murdoch wrote: > >>> Hi, >>> >>> I still get behaviour similar to this: >>> http://gradle.1045684.n5.nabble.com/Snapshot-dependencies-not-updated-td1433032.html >>> in gradle 1 m1 - is this behaviour normal / expected? >> >> The default behaviour for a maven repo is to check for new snapshots once a >> day. You can change the strategy on a per-repository basis: >> >> mavenRepo(urls: '...') { >> // Always check for new snapshots >> snapshotTimeout = 0 >> } > > Can you please point me to the part of the Gradle code base that implements > this. I am looking to add something similar to Grails.
https://github.com/gradle/gradle/blob/master/subprojects/core/src/main/groovy/org/gradle/api/internal/artifacts/ivyservice/GradleIBiblioResolver.java -- Adam Murdoch Gradle Developer http://www.gradle.org Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
