trigger Travis build for both Java 7 and Java 8, clean up gradle build script