.gradle/init.d/resolutionStrategy.gradle
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Feb 2017 11:19:48 +0200
changeset 831 315277801000
child 836 ed2feb95716d
permissions -rw-r--r--
Delay access to remote repositories for 10 days.

allprojects {
    println "resolutionStrategy: wait for 10 days"
    configurations.all {
        resolutionStrategy.cacheDynamicVersionsFor 10, java.util.concurrent.TimeUnit.DAYS
        resolutionStrategy.cacheChangingModulesFor 10, java.util.concurrent.TimeUnit.DAYS
    }
}