sudo: required
language: java
services:
    - docker
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/caches/
        - $HOME/.gradle/wrapper/
script:
    - ./test.sh
    - ./build.sh

sudo: required
language: java
services:
    - docker
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/caches/
        - $HOME/.gradle/wrapper/
script:
    - ./test.sh
    - ./build.sh

Use openjdk8 instead of oraclejdk8 in build
Use openjdk8 instead of oraclejdk8 in build
