Skip to content

Commit

Permalink
[#2925] Get rid of crashlytics classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Oct 27, 2023
1 parent 87e2213 commit b1faebb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion CCC.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ buildscript {
classpath(androidGradlePlugin)
classpath(kotlinGradlePlugin)
classpath(firebasePerPlugin)
classpath(crashlytics)
classpath(navigation) // todo can be removed once compose migration done
classpath(mokoResources)
classpath(buildKonfig)
Expand Down
2 changes: 1 addition & 1 deletion android/app/android-app.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import config.key.secret
plugins {
libs.plugins.apply {
alias(androidApplication)
id(crashlytics.get().pluginId)
id(firebasePerPlugin.get().pluginId)
alias(kotlinAndroid)
alias(googleServices)
alias(firebaseCrashlytics)
}
}

Expand Down
7 changes: 2 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ firebaseRemoteConfig = "21.5.0"
googleServices = "4.4.0"
firebasePer = "20.4.1"
firebasePerPlugin = "1.4.2"
crashlytics = "2.9.9"
firebaseCrashlytics = "2.9.9"
googleAds = "22.4.0"
huaweiAds = "3.4.66.303"
huaweiOsm = "1.3.35"
Expand All @@ -41,7 +41,6 @@ splashScreen = "1.0.1"
kover = "0.6.1"
rootBeer = "0.1.0"
mockative = "2.0.1"
firebaseCrashlytics = "18.5.1"
anrWatchDog = "1.4.0"
kermit = "2.0.2"
konsist = "0.11.0"
Expand Down Expand Up @@ -91,7 +90,6 @@ android-sqlliteDriver = { module = "com.squareup.sqldelight:android-driver", ver
android-leakCanary = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakCanary" }
android-splashScreen = { module = "androidx.core:core-splashscreen", version.ref = "splashScreen" }
android-rootBeer = { module = "com.scottyab:rootbeer-lib", version.ref = "rootBeer" }
android-firebaseCrashlytics = { module = "com.google.firebase:firebase-crashlytics-ktx", version.ref = "firebaseCrashlytics" }
android-anrWatchDog = { module = "com.github.anrwatchdog:anrwatchdog", version.ref = "anrWatchDog" }

# ANDROID GOOGLE
Expand Down Expand Up @@ -123,7 +121,6 @@ processors-mockative = { module = "io.mockative:mockative-processor", version.re
classpaths-androidGradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
classpaths-kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
classpaths-firebasePerPlugin = { module = "com.google.firebase:perf-plugin", version.ref = "firebasePerPlugin" }
classpaths-crashlytics = { module = "com.google.firebase:firebase-crashlytics-gradle", version.ref = "crashlytics" }
classpaths-navigation = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navigation" }
classpaths-mokoResources = { module = "dev.icerock.moko:resources-generator", version.ref = "mokoResources" }
classpaths-buildKonfig = { module = "com.codingfeline.buildkonfig:buildkonfig-gradle-plugin", version.ref = "buildKonfig" }
Expand All @@ -138,7 +135,7 @@ androidApplication = { id = "com.android.application", version.ref = "androidGra
androidLibrary = { id = "com.android.library", version.ref = "androidGradlePlugin" }
safeArgs = { id = "androidx.navigation.safeargs" }
buildKonfig = { id = "com.codingfeline.buildkonfig" }
crashlytics = { id = "com.google.firebase.crashlytics" }
firebaseCrashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebaseCrashlytics" }
googleServices = { id = "com.google.gms.google-services", version.ref = "googleServices" }
firebasePerPlugin = { id = "com.google.firebase.firebase-perf" }
sqlDelight = { id = "com.squareup.sqldelight", version.ref = "sqlDelight" }
Expand Down

0 comments on commit b1faebb

Please sign in to comment.