Skip to content

Instantly share code, notes, and snippets.

@hribab
Created March 2, 2019 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hribab/21989166a599e357b19f394410755a91 to your computer and use it in GitHub Desktop.
Save hribab/21989166a599e357b19f394410755a91 to your computer and use it in GitHub Desktop.
buildscript {
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.+'
// classpath 'com.google.gms:google-services:4.2.0'
}
}
repositories {
jcenter()
}
dependencies {
compile 'com.google.firebase:firebase-core:16.0.4'
compile 'com.google.firebase:firebase-messaging:17.3.4'
}
// apply plugin: 'com.google.gms.google-services'
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
// apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment