Setup crashlytics

This commit is contained in:
Lucas Lima 2020-08-28 17:49:40 -03:00
parent f33c82a4a3
commit 8b614ce45f
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2
3 changed files with 7 additions and 1 deletions

View file

@ -3,6 +3,10 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
if (System.getenv('IS_GOOGLE_BUILD')) {
apply plugin: 'com.google.firebase.crashlytics'
}
android {
compileSdkVersion 30

View file

@ -11,6 +11,7 @@ buildscript {
if (System.getenv('IS_GOOGLE_BUILD')) {
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
}
}
}

View file

@ -38,7 +38,8 @@ dependencies {
implementation 'com.google.android.play:core-ktx:1.8.1'
// Firebase
implementation 'com.google.firebase:firebase-analytics:17.5.0'
implementation 'com.google.firebase:firebase-analytics-ktx:17.5.0'
implementation 'com.google.firebase:firebase-crashlytics:17.2.1'
// Kotlin Lib
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0'