瀏覽代碼

Cache artifacts for the duration of the build...

Helps if we don't run a load of parallel job which each have to
hit maven to make sure the 3 second old build is still current.
pull/4/head
Chris Smith 9 年之前
父節點
當前提交
bb0d6d8797
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      build.gradle

+ 2
- 2
build.gradle 查看文件

@@ -125,8 +125,8 @@ subprojects {
125 125
 
126 126
 allprojects {
127 127
     configurations.all {
128
-        resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
129
-        resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
128
+        resolutionStrategy.cacheDynamicVersionsFor 2, 'minutes'
129
+        resolutionStrategy.cacheChangingModulesFor 2, 'minutes'
130 130
     }
131 131
 }
132 132
 

Loading…
取消
儲存