language: android

android:
  components:
    - tools
    - platform-tools
    - build-tools-26.0.0
    - android-26
    - extra-google-m2repository
    - extra-android-m2repository

jdk:
  - oraclejdk8

script:
  - ./gradlew build

branches:
  except:
    - gh-pages

sudo: false

cache:
  directories:
    - $HOME/.gradle

language: android

android:
  components:
    - tools
    - platform-tools
    - build-tools-26.0.0
    - android-26
    - extra-google-m2repository
    - extra-android-m2repository

jdk:
  - oraclejdk8

script:
  - ./gradlew build

branches:
  except:
    - gh-pages

sudo: false

cache:
  directories:
    - $HOME/.gradle
    - $HOME/.android

Add cache to the Android folder too
Add cache to the Android folder too
