language: java

jdk:
  - openjdk8

sudo: false

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

install: /bin/true

script:
  - ./gradlew build test
language: java

jdk:
  - openjdk11

sudo: false

cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

install: /bin/true

script:
  - ./gradlew build test
Use jdk 11 for build
Use jdk 11 for build
