Browse Source

[주모] Firebase Crashlytics 사용 설정

yeongyun 6 years ago
parent
commit
5fec7fc86c
2 changed files with 16 additions and 0 deletions
  1. 8 0
      app/build.gradle
  2. 8 0
      build.gradle

+ 8 - 0
app/build.gradle

@@ -1,5 +1,6 @@
 apply plugin: 'com.android.application'
 apply plugin: 'com.google.gms.google-services'
+apply plugin: 'io.fabric'
 
 def keystoreProperties = new Properties()
 keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
@@ -183,13 +184,20 @@ dependencies {
     implementation 'com.google.android.gms:play-services-auth:16.0.0'
     implementation 'com.kakao.sdk:usermgmt:1.14.0'
     implementation 'com.kakao.sdk:kakaotalk:1.14.0'
+
     // Naver login sdk
     implementation files('libs/3rdparty_login_library_android_4.1.4.jar')
+
+    // Advertise platform
     implementation files('libs/buzzad-android-sdk-advertiser-1.0.1.jar')
     implementation files('libs/cashslide-sdk20170320.jar')
     implementation files('libs/libNswitchSDK_v1.1.2.jar')
     implementation files('libs/tnkad-sdk.jar')
 
+    // Crashlytics
+    implementation 'com.google.firebase:firebase-core:16.0.7'
+    implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
+
     /*********************************
      * UNIT TEST
      *********************************/

+ 8 - 0
build.gradle

@@ -6,6 +6,9 @@ buildscript {
         google()
         jcenter()
         mavenCentral()
+        maven {
+            url 'https://maven.fabric.io/public'
+        }
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:3.2.1'
@@ -14,6 +17,8 @@ buildscript {
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
+
+        classpath 'io.fabric.tools:gradle:1.26.1'
     }
 }
 
@@ -23,6 +28,9 @@ allprojects {
         jcenter()
         mavenCentral()
         maven { url 'http://devrepo.kakao.com:8088/nexus/content/groups/public/' }
+        maven {
+            url 'https://maven.google.com/'
+        }
     }
 }