mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Remove firebase crashlytics
This commit is contained in:
parent
4f59330c84
commit
42b15aa634
4 changed files with 7 additions and 9 deletions
|
@ -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")
|
||||
|
@ -301,7 +305,3 @@ tasks {
|
|||
dependsOn(formatKotlin, copyHebrewStrings)
|
||||
}
|
||||
}
|
||||
|
||||
if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
|
||||
apply(mapOf("plugin" to "com.google.gms.google-services"))
|
||||
}
|
||||
|
|
1
app/proguard-rules.pro
vendored
1
app/proguard-rules.pro
vendored
|
@ -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 *; }
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue