I am using gradle 1.0-rc3
Multiple builds repeatedly download the SNAPSHOT from IVY (maven 1) into a NEW folder (causing accumulation of unneeded artifacts consuming a lot of space)
See the attached image for an example of the new folders created.
QUESTION:
Is there a setting to remove old SHA1 folders (rather than creating new ones at each build).??
I have this snippet in my build.gradle: configurations.all {
// check for updates every build for artifacts with ‘changing: true’
resolutionStrategy.cacheChangingModulesFor 0, ‘seconds’ }
dependencies {
testCompile group: ‘junit’, name: ‘junit’, version: ‘3.8.1’
groovy group: ‘org.codehaus.groovy’, name: ‘groovy-all’, version: ‘1.8.5’
archives group: ‘spectrum-installer’, name: ‘spectrum-installer-weblogic’, version: System.getProperty(‘installer.version’), ext: ‘zip’, changing: true
// SNAPSHOTs are changing
Thanks!