Created
January 26, 2016 17:46
-
-
Save gzoller/34a1ab09a4977591ccc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//---------------------------- build.gradle (Project: gcm) | |
// 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:1.5.0' | |
classpath 'com.google.gms:google-services:2.0.0-alpha3' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
allprojects { | |
repositories { | |
jcenter() | |
} | |
} | |
//---------------------------- build.gradle (Module: app) | |
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.0" | |
defaultConfig { | |
applicationId "gcm.play.android.samples.com.gcmquickstart" | |
minSdkVersion 9 | |
targetSdkVersion 23 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
packagingOptions { | |
exclude 'LICENSE.txt' | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile 'com.google.android.gms:play-services-gcm:8.4.0' // comment | |
compile 'com.android.support:appcompat-v7:23.0.0' | |
// Testing dependencies | |
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.1' | |
androidTestCompile 'com.android.support.test:runner:0.2' | |
androidTestCompile 'com.android.support:support-annotations:23.0.0' | |
} | |
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