language: android
android:
  components:
    - build-tools-25.0.2
    - android-25

# Avoid uploading the cache after every build
# See https://docs.travis-ci.com/user/languages/android/
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - $HOME/.android/build-cache

language: android
android:
  components:
    - build-tools-25.0.2
    - android-25

jdk:
  - oraclejdk8

# Avoid uploading the cache after every build
# See https://docs.travis-ci.com/user/languages/android/
before_cache:
  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
    - $HOME/.android/build-cache

Switch to JDK8 (seems to be needed by tooling).
Switch to JDK8 (seems to be needed by tooling).

Per the previous commit, Volley itself will still compile using Java
1.7 source/target compatibility.
