language: java

jdk:
    - oraclejdk8

before_cache:
    - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
    directories:
        - $HOME/.gradle/

dist: trusty

language: java

jdk:
    - openjdk8

before_cache:
    - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
    - rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
    directories:
        - $HOME/.gradle/

Switch Travis CI to trusty and openjdk8
Switch Travis CI to trusty and openjdk8
