Skip to content

Instantly share code, notes, and snippets.

@pacificregmi
Created July 18, 2016 01:17
Show Gist options
  • Save pacificregmi/2ea5a86edccee3b99fa40c7a8335d3e3 to your computer and use it in GitHub Desktop.
Save pacificregmi/2ea5a86edccee3b99fa40c7a8335d3e3 to your computer and use it in GitHub Desktop.
Integrating Google Firebase Analytics to your Android Project - App level build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.viralandroid.addfirebaseanalyticstoandroidproject"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.firebase:firebase-core:9.2.1'
}
apply plugin: 'com.google.gms.google-services'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment