Update Gradle config

1. Update gradle configuration
2. Use customised FireBase url