From 09cac7f5da8050addbf614fa53a2d96198d7cc33 Mon Sep 17 00:00:00 2001 From: Xcreen Date: Tue, 20 Nov 2018 16:58:58 +0100 Subject: [PATCH] Added crashlytics --- app/build.gradle | 5 +++++ build.gradle | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 58b5cae..05df01d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.application' +apply plugin: 'io.fabric' android { compileSdkVersion 28 @@ -35,7 +36,11 @@ dependencies { implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'com.google.firebase:firebase-core:16.0.5' + implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' } + +apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/build.gradle b/build.gradle index 8d3ef8e..0e71115 100644 --- a/build.gradle +++ b/build.gradle @@ -5,11 +5,14 @@ buildscript { repositories { google() jcenter() + maven { + url 'https://maven.fabric.io/public' + } } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' - - + classpath 'com.google.gms:google-services:4.2.0' + classpath 'io.fabric.tools:gradle:1.26.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -19,6 +22,9 @@ allprojects { repositories { google() jcenter() + maven { + url 'https://maven.google.com/' + } } }