language: android
android:
  components:
    - android-8
jdk:
  - oraclejdk8
  - oraclejdk7
sudo: false
cache:
  directories:
  - $HOME/.m2

install: gradle --stacktrace assemble
script: gradle --stacktrace check
after_success:
  gradle --stacktrace jacocoRootReport coveralls

language: android
android:
  components:
    - android-8
jdk:
  - oraclejdk8
  - oraclejdk7
sudo: false
cache:
  directories:
  - $HOME/.m2

before_install:
  - export JAVA_OPTS="-XX:MaxPermSize=512M"
  - export GRADLE_VERSION=3.4.1
  - wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-all.zip
  - unzip -q gradle-${GRADLE_VERSION}-all.zip
  - export PATH="$(pwd)/gradle-${GRADLE_VERSION}/bin:$PATH"

install: gradle --stacktrace assemble
script: gradle --stacktrace check
after_success:
  gradle --stacktrace jacocoRootReport coveralls

Use gradle 3.4.1 for Travis CI
Use gradle 3.4.1 for Travis CI
