Removing local.properties because as it states in it's header it shouldn't be checked in.
Re-adding the local.properties file and adjusting the build.gradle file to match the maven instructions at https://code.google.com/p/google-api-java-client/wiki/Setup.