Move appdistribution declarations to Gradle catalog
This commit is contained in:
@@ -27,7 +27,7 @@ plugins {
|
||||
alias(libs.plugins.anvil)
|
||||
alias(libs.plugins.ksp)
|
||||
alias(libs.plugins.kapt)
|
||||
id("com.google.firebase.appdistribution") version "4.0.1"
|
||||
alias(libs.plugins.firebaseAppDistribution)
|
||||
id("org.jetbrains.kotlinx.knit") version "0.4.0"
|
||||
id("kotlin-parcelize")
|
||||
// To be able to update the firebase.xml files, uncomment and build the project
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
android_gradle_plugin = "8.1.3"
|
||||
kotlin = "1.9.20"
|
||||
ksp = "1.9.20-1.0.14"
|
||||
firebaseAppDistribution = "4.0.1"
|
||||
|
||||
# AndroidX
|
||||
core = "1.12.0"
|
||||
@@ -59,6 +60,7 @@ kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", v
|
||||
gms_google_services = "com.google.gms:google-services:4.4.0"
|
||||
# https://firebase.google.com/docs/android/setup#available-libraries
|
||||
google_firebase_bom = "com.google.firebase:firebase-bom:32.5.0"
|
||||
firebase_appdistribution_gradle = { module = "com.google.firebase:firebase-appdistribution-gradle", version.ref = "firebaseAppDistribution" }
|
||||
|
||||
# AndroidX
|
||||
androidx_core = { module = "androidx.core:core", version.ref = "core" }
|
||||
@@ -204,6 +206,7 @@ dependencyanalysis = "com.autonomousapps.dependency-analysis:1.25.0"
|
||||
paparazzi = "app.cash.paparazzi:1.3.1"
|
||||
kover = "org.jetbrains.kotlinx.kover:0.6.1"
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
firebaseAppDistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebaseAppDistribution" }
|
||||
|
||||
# Version '4.3.1.3277' introduced some regressions in CI time (more than 2x slower), so make sure
|
||||
# this is no longer the case before upgrading.
|
||||
|
||||
@@ -27,7 +27,6 @@ dependencies {
|
||||
implementation(libs.android.gradle.plugin)
|
||||
implementation(libs.kotlin.gradle.plugin)
|
||||
implementation(platform(libs.google.firebase.bom))
|
||||
// FIXME: using the bom ^, it should not be necessary to provide the version v...
|
||||
implementation("com.google.firebase:firebase-appdistribution-gradle:4.0.1")
|
||||
implementation(libs.firebase.appdistribution.gradle)
|
||||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user