Have Travis only build on Java 6.
Have Travis use the Gradle wrapper.