Skip to content

Commit

Permalink
Migrate Fabric to Firebase Crashlytics
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Nwokoma <[email protected]>
  • Loading branch information
enwokoma committed Jun 8, 2020
1 parent 97db6bf commit c4e33f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
7 changes: 3 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.crashlytics'

android {
compileSdkVersion 29
Expand Down Expand Up @@ -33,9 +33,8 @@ dependencies {
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.android.volley:volley:1.1.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.0@aar') {
transitive = true
}
implementation 'com.google.firebase:firebase-analytics:17.4.3'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.mikhaellopez:circularimageview:3.0.2'
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/drawable/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
Expand Down
20 changes: 4 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,35 +1,23 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
maven {
url 'https://maven.fabric.io/public'
}
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.google.gms:google-services:4.0.1'
classpath 'io.fabric.tools:gradle:1.28.0'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.1.1'
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url "https://maven.google.com"
}
maven { url 'https://jitpack.io' }
}
}

Expand Down

0 comments on commit c4e33f6

Please sign in to comment.