language: java
jdk:
    - oraclejdk8
before_install:
    - git fetch --unshallow
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:
    - openjdk8
before_install:
    - git fetch --unshallow
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/

Use openjdk8 to build on jenkins. Maybe this is caused by oracle licensing?
Use openjdk8 to build on jenkins.
Maybe this is caused by oracle licensing?
