language: java
jdk: oraclejdk9

install: true
script: ./gradlew build -Ptest.skipAndroid=true

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/

language: java
jdk: oraclejdk9

env:
  - GRADLE_VERSION=4.6
  - GRADLE_VERSION=4.7

install: true
script: ./gradlew build -Ptest.skipAndroid=true -Ptest.gradle-version=$GRADLE_VERSION

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/

Test using Gradle 4.6 and Gradle 4.7
Test using Gradle 4.6 and Gradle 4.7
