ソースを参照

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
 

読み込み中…
キャンセル
保存