sudo: required
dist: trusty

language: java

jdk:
  - oraclejdk8
  - oraclejdk9

matrix:
  allow_failures:
    - jdk: oraclejdk9

sudo: false
addons:
  apt:
    packages:
      - oracle-java8-installer
      - oracle-java9-installer

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/18c65e29b9926a658da8
    on_success: always
    on_failure: always
    on_start: always

sudo: required
dist: trusty

language: java

jdk:
  - oraclejdk8
  - openjdk8
  - oraclejdk9

matrix:
  allow_failures:
    - jdk: oraclejdk9

sudo: false

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/

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/18c65e29b9926a658da8
    on_success: always
    on_failure: always
    on_start: always

Introduce Gradle caching for Travis builds
Introduce Gradle caching for Travis builds
