gradle support and updated gcm version