language: java

jdk:
  - oraclejdk8

before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

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

Add a Travis CI file
Add a Travis CI file

This will automatically run checks as documented at

https://docs.travis-ci.com/user/languages/java#Projects-Using-Gradle
