This plugin converts the google-services.json file for Firebase into a set of resources that the Firebase libraries can use. It also references the strict-version-matcher plugin, and will execute those checks as well.
Add JitPack to your list of repositories:
repositories {
maven { url 'https://jitpack.io' }
}
And add the library to your list of dependencies:
buildscript {
dependencies {
classpath 'com.github.colinrtwhite:google-services:<LATEST_COMMIT_HASH>'
}
}