Ensure gradle build files are set to Java 7