Remove firebase crashlytics

This commit is contained in:
Jays2Kings 2022-05-04 19:41:03 -04:00
parent 4f59330c84
commit 42b15aa634
4 changed files with 7 additions and 9 deletions

View file

@ -10,10 +10,13 @@ plugins {
id(Plugins.kotlinParcelize)
id(Plugins.kotlinSerialization)
id("com.google.android.gms.oss-licenses-plugin")
id(Plugins.firebaseCrashlytics)
id(Plugins.googleServices) apply false
}
if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
apply<com.google.gms.googleservices.GoogleServicesPlugin>()
}
fun getBuildTime() = DateTimeFormatter.ISO_DATE_TIME.format(LocalDateTime.now(ZoneOffset.UTC))
fun getCommitCount() = runCommand("git rev-list --count HEAD")
fun getGitSha() = runCommand("git rev-parse --short HEAD")
@ -146,6 +149,7 @@ dependencies {
implementation("androidx.multidex:multidex:2.0.1")
implementation("com.google.firebase:firebase-core:20.1.2")
implementation("com.google.firebase:firebase-analytics-ktx:20.1.2")
val lifecycleVersion = "2.4.0-rc01"
kapt("androidx.lifecycle:lifecycle-compiler:$lifecycleVersion")
@ -300,8 +304,4 @@ tasks {
preBuild {
dependsOn(formatKotlin, copyHebrewStrings)
}
}
if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
apply(mapOf("plugin" to "com.google.gms.google-services"))
}
}

View file

@ -11,6 +11,7 @@
-keep,allowoptimization class org.jsoup.** { public protected *; }
-keep,allowoptimization class com.google.gson.** { public protected *; }
-keep,allowoptimization class com.squareup.duktape.** { public protected *; }
-keep,allowoptimization class app.cash.quickjs.** { public protected *; }
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
-keep,allowoptimization class eu.davidea.flexibleadapter.** { public protected *; }

View file

@ -25,7 +25,6 @@ subprojects {
buildscript {
dependencies {
classpath(LegacyPluginClassPath.fireBaseCrashlytics)
classpath("com.android.tools.build:gradle:7.1.3")
classpath(LegacyPluginClassPath.googleServices)
classpath(LegacyPluginClassPath.kotlinPlugin)

View file

@ -10,7 +10,6 @@ object LegacyPluginClassPath {
const val googleServices = "com.google.gms:google-services:4.3.10"
const val kotlinPlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
const val kotlinSerializations = "org.jetbrains.kotlin:kotlin-serialization:${Versions.kotlin}"
const val fireBaseCrashlytics = "com.google.firebase:firebase-crashlytics-gradle:2.3.0"
}
object AndroidVersions {
@ -24,7 +23,6 @@ object AndroidVersions {
object Plugins {
const val androidApplication = "com.android.application"
const val firebaseCrashlytics = "com.google.firebase.crashlytics"
const val googleServices = "com.google.gms.google-services"
const val kapt = "kapt"
const val kotlinParcelize = "kotlin-parcelize"