When you add apply plugin: 'com.google.gms.google-services'inside your application level build.gradle, it analyzes the configuration information from the file google-services.json.
google-services.json, . build.gradle , , .
apply plugin: 'com.google.gms.google-services