How can I add this code to the android build.gradle of my project?
buildscript
{
repositories {
jcenter()
google()
}
dependencies {
// Adding Google Services plugin
classpath 'com.google.gms:google-services:4.3.8'
}
}
// apply Google Services plugin
apply plugin: 'com.google.gms.google-services'
I know there is a <dependency />
tag that i can use in the project.xml but how can I use it to add somehow this dependency and the plugin to be applied?
Thanks