Running Travis builds with JDK8 via gradle