language: java

language: java
jdk:
  - oraclejdk8
  - oraclejdk7
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
install: travis_wait gradle assemble

Test against java7 and java8, cache gradle, wait for deps
Test against java7 and java8, cache gradle, wait for deps
