Skip to content

Instantly share code, notes, and snippets.

@griajobag
Created May 24, 2018 09:35
Show Gist options
  • Save griajobag/f0404efea2e286694e26054f15be6a84 to your computer and use it in GitHub Desktop.
Save griajobag/f0404efea2e286694e26054f15be6a84 to your computer and use it in GitHub Desktop.
Rating
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
//add this line
classpath 'com.google.gms:google-services:3.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment