Hi,

I’d like to use this snippet in an init script to disable caching for dynamic 
versions everywhere:

allprojects {
configurations.all {
resolutionStrategy {
cacheDynamicVersionsFor 0, "seconds"
}
}
}


It works fine for project configurations, but unfortunately when I create some 
detached configurations, those will not get this closure applied to them. Is 
there a way I can specify the same resolution strategy to detached 
configurations as well?

Thanks.

--  
Lóránt Pintér
Developer at Prezi (http://prezi.com)


Reply via email to