language: android

android:
  components:
    - tools
    - platform-tools
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
  licenses:
    - android-sdk-license-5be876d5
    - android-sdk-license-c81a61d9

jdk:
  - oraclejdk7
  - oraclejdk8

script:
  - ./gradlew clean check

notifications:
  email: false

sudo: false

cache:
  directories:
    - $HOME/.gradle

language: android

android:
  components:
    - tools
    - platform-tools
    - build-tools-23.0.2
    - android-23
    - extra-android-m2repository
  licenses:
    - android-sdk-license-5be876d5
    - android-sdk-license-c81a61d9
    - android-sdk-license-2742d1c5

jdk:
  - oraclejdk8

script:
  - ./gradlew clean check

notifications:
  email: false

sudo: false

cache:
  directories:
    - $HOME/.gradle

Update license and remove oraclejdk7 to fix build
Update license and remove oraclejdk7 to fix build

Oracle JDK 7 no longer available; openJDK7 is missing an EC crypto
provider needed to download gradle plugins, so I just removed the 7
compiler. We could pursue workarounds but they're a bit messy, see
https://github.com/uber-java/tally/blob/2cea75ecc2f896dfd5e32b94bff71f211c8bde56/ci/before_install.sh#L6-L12

and https://github.com/gradle/gradle/issues/2421
