Skip to content

Instantly share code, notes, and snippets.

@cutiko
Last active August 27, 2017 23:26
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 cutiko/eb3526dafe7d29ec588a01c32074b0db to your computer and use it in GitHub Desktop.
Save cutiko/eb3526dafe7d29ec588a01c32074b0db to your computer and use it in GitHub Desktop.
How to add GeoFirebase graddle
apply plugin: 'com.android.application'
android {
//...
}
dependencies {
//...
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'cl.cutiko:geofirebase:0.1.0'
//...
}
apply plugin: 'com.google.gms.google-services'
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
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