Browse Source

not caching gradle modules

Daniel Zlotin 8 years ago
parent
commit
62005febd1
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      .travis.yml

+ 5
- 5
.travis.yml View File

19
 cache:
19
 cache:
20
   directories:
20
   directories:
21
     - $HOME/.yarn-cache
21
     - $HOME/.yarn-cache
22
-    - $HOME/.gradle/caches/
23
     - $HOME/.gradle/wrapper/
22
     - $HOME/.gradle/wrapper/
23
+    - $HOME/.gradle/native/
24
+    - $HOME/.gradle/daemon/
25
+    - $HOME/.gradle/caches/
24
     - $HOME/.m2
26
     - $HOME/.m2
25
-    - $ANDROID_HOME/
27
+    - $ANDROID_HOME/licenses/
26
 
28
 
27
 before_cache:
29
 before_cache:
28
-  - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
30
+  - rm -rf $HOME/.gradle/caches/modules-2
29
   - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
31
   - rm -rf $HOME/.gradle/caches/*/plugin-resolution/
30
 
32
 
31
 before_install:
33
 before_install:
45
 
47
 
46
 after_script:
48
 after_script:
47
   - echo "BUILD FINISHED"
49
   - echo "BUILD FINISHED"
48
-
49
-