Permalink
Browse files

setup gradle and copy google-services.json to app folder

  • Loading branch information...
1 parent 85a9e78 commit df98e63ec6c2a9693e1f27281c4748ef4b707e12 @susemi99 committed Jan 26, 2016
Showing with 49 additions and 2 deletions.
  1. +5 −1 app/build.gradle
  2. +42 −0 app/google-services.json
  3. +1 −0 build.gradle
  4. +1 −1 gradle/wrapper/gradle-wrapper.properties
View
@@ -20,7 +20,11 @@ android {
}
dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
+ compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
+ compile 'com.android.support:support-annotations:23.1.1'
+ compile 'com.google.android.gms:play-services:8.4.0'
}
+
+apply plugin: 'com.google.gms.google-services'
@@ -0,0 +1,42 @@
+{
+ "project_info": {
+ "project_id": "crucial-ray-456",
+ "project_number": "939290888005",
+ "name": "TestGCM2"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:939290888005:android:1a5d395909015ec1",
+ "client_id": "android:kr.susemi99.gcm",
+ "client_type": 1,
+ "android_client_info": {
+ "package_name": "kr.susemi99.gcm"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [],
+ "services": {
+ "analytics_service": {
+ "status": 1
+ },
+ "cloud_messaging_service": {
+ "status": 2,
+ "apns_config": []
+ },
+ "appinvite_service": {
+ "status": 1,
+ "other_platform_oauth_client": []
+ },
+ "google_signin_service": {
+ "status": 1
+ },
+ "ads_service": {
+ "status": 1
+ }
+ }
+ }
+ ],
+ "client_info": [],
+ "ARTIFACT_VERSION": "1"
+}
View
@@ -6,6 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
+ classpath 'com.google.gms:google-services:2.0.0-alpha7'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

0 comments on commit df98e63

Please sign in to comment.