Set gradle to build for Java 1.7