浏览代码

Don’t cache changing deps

Mario Danic 8 年之前
父节点
当前提交
1815ace4d1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      build.gradle

+ 4 - 0
build.gradle

@@ -23,6 +23,10 @@ apply plugin: 'checkstyle'
 apply plugin: 'pmd'
 apply plugin: 'findbugs'
 
+configurations.all {
+    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
+}
+
 ext {
     supportLibraryVersion = '25.0.0'