language: android

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

sudo: false

before_cache:
  - rm -rf $HOME/.m2/repository/io/michaelrocks/databindingcompat
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

install:
  - ./gradlew assemble publishToMavenLocal -Pbootstrap=true --no-daemon --rerun-tasks

script:
  - ./gradlew check --no-daemon

language: android

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

jdk: oraclejdk8

sudo: false

before_cache:
  - rm -rf $HOME/.m2/repository/io/michaelrocks/databindingcompat
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

cache:
  directories:
    - $HOME/.m2
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

install:
  - ./gradlew assemble publishToMavenLocal -Pbootstrap=true --no-daemon --rerun-tasks

script:
  - ./gradlew check --no-daemon

Use JDK 8 for Travis CI builds
Use JDK 8 for Travis CI builds
