Skip to content

Commit

Permalink
add crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ivzb committed Feb 23, 2020
1 parent d18a179 commit 86d58c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'androidx.navigation.safeargs.kotlin'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

android {
compileSdkVersion rootProject.compileSdkVersion
Expand Down Expand Up @@ -82,6 +83,7 @@ dependencies {

// Firebase
implementation "com.google.firebase:firebase-analytics:$rootProject.firebaseVersion"
implementation "com.google.firebase:firebase-crashlytics:$rootProject.crashlyticsVersion"

// Utils
implementation "org.jsoup:jsoup:$rootProject.jsoupVersion"
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ buildscript {
glideVersion = "4.6.1"
jsoupVersion = "1.11.3"
googleServicesVersion = "4.3.3"
crashlyticsGradleVersion = "2.0.0-beta02"
firebaseVersion = "17.2.2"
crashlyticsVersion = "17.0.0-beta01"
}

repositories {
Expand All @@ -44,6 +46,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
classpath "com.google.gms:google-services:$googleServicesVersion"
classpath "com.google.firebase:firebase-crashlytics-gradle:$crashlyticsGradleVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit 86d58c2

Please sign in to comment.