Fix dagger-android build in Travis
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139355153
diff --git a/.travis.yml b/.travis.yml
index 29f9ff3..44bfc7c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,10 +5,12 @@
android:
components:
- - build-tools-23.0.0
- - android-23
- licenses:
- - android-sdk-license-5be876d5
+ - tools
+ - tools # Duplicated as per https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
+ - build-tools-25.0.0
+ - android-25
+ - platform-tools
+ - extra-android-m2repository
before_install:
- sudo rm -f /etc/mavenrc
@@ -38,3 +40,7 @@
only:
- master
- /^release.*$/
+
+cache:
+ directories:
+ - $HOME/.m2