Update crashlytics. (#624)

This commit is contained in:
Justin Bassett 2020-06-11 20:49:30 -04:00 committed by GitHub
parent fe789b47e2
commit b191334309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View file

@ -5,11 +5,9 @@ plugins {
id("kotlin-android-extensions")
id("com.google.firebase.appdistribution")
id("com.github.triplet.play") version "2.7.5"
id("io.fabric")
id("com.google.firebase.crashlytics")
}
apply(plugin = "com.google.firebase.appdistribution")
buildscript {
repositories {
google()
@ -116,13 +114,13 @@ dependencies {
exclude(group = "org.threeten")
}
implementation(Config.Dependency.Misc.crashlytics)
implementation(Config.Dependency.Misc.lokalize)
implementation(Config.Dependency.Play.location)
implementation(Config.Dependency.Firebase.core)
implementation(Config.Dependency.Firebase.iid)
implementation(Config.Dependency.Firebase.messaging)
implementation(Config.Dependency.Firebase.crashlytics)
implementation(Config.Dependency.AndroidX.workManager)
implementation(Config.Dependency.AndroidX.biometric)

View file

@ -8,7 +8,6 @@ buildscript {
repositories {
google()
jcenter()
maven(url = Config.Repository.fabric)
maven(url = Config.Repository.gradle)
}
dependencies {
@ -16,8 +15,8 @@ buildscript {
classpath(Config.Plugin.kotlin)
classpath(Config.Plugin.google)
classpath(Config.Plugin.appDistribution)
classpath(Config.Plugin.fabric)
classpath(Config.Plugin.ktlint)
classpath(Config.Plugin.crashlytics)
}
}

View file

@ -6,14 +6,13 @@ object Config {
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Dependency.Kotlin.version}"
const val google = "com.google.gms:google-services:4.3.3"
const val appDistribution = "com.google.firebase:firebase-appdistribution-gradle:1.4.0"
const val fabric = "io.fabric.tools:gradle:1.31.2"
const val ktlint = "org.jlleitschuh.gradle:ktlint-gradle:9.2.1"
const val playPublisher = "com.github.triplet.gradle:play-publisher:2.7.5"
const val androidJunit5 = "de.mannodermaus.gradle.plugins:android-junit5:1.6.0.0"
const val crashlytics = "com.google.firebase:firebase-crashlytics-gradle:2.1.1"
}
object Repository {
const val fabric = "https://maven.fabric.io/public"
const val gradle = "https://plugins.gradle.org/m2/"
const val lokalize = "https://maven.lokalise.co"
}
@ -62,6 +61,7 @@ object Config {
const val core = "com.google.firebase:firebase-core:17.3.0"
const val iid = "com.google.firebase:firebase-iid:20.1.5"
const val messaging = "com.google.firebase:firebase-messaging:20.1.5"
const val crashlytics = "com.google.firebase:firebase-crashlytics:17.0.1"
}
object Square {
@ -88,7 +88,6 @@ object Config {
}
object Misc {
const val crashlytics = "com.crashlytics.sdk.android:crashlytics:2.10.1"
const val lokalize = "com.lokalise.android:sdk:2.0.0-beta-5"
const val jackson = "com.fasterxml.jackson.module:jackson-module-kotlin:2.10.1"
const val threeTenBp = "org.threeten:threetenbp:1.4.0"