Skip to content

Commit

Permalink
Added Google Services as a plugin with Version Catalogs
Browse files Browse the repository at this point in the history
  • Loading branch information
soygabimoreno committed Nov 15, 2023
1 parent 0dfba43 commit de8930d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
buildscript {
extra.apply {
set("version_google_services", "4.3.15")
set("version_compose_compiler", "1.4.7")
set("version_hilt", "2.46.1")
set("version_detekt", "1.19.0")
set("version_detekt", "1.19.0")
}

dependencies {
classpath("com.google.gms:google-services:${rootProject.extra["version_google_services"]}")
classpath("com.google.dagger:hilt-android-gradle-plugin:${rootProject.extra["version_hilt"]}")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.7")
}
Expand Down
2 changes: 1 addition & 1 deletion gabimoreno/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
plugins {
id("com.android.application")
kotlin("android")
id("com.google.gms.google-services")
alias(libs.plugins.google.services)
kotlin("kapt")
id("dagger.hilt.android.plugin")
id("com.google.firebase.crashlytics")
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", ve
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "ui" }

[plugins]
google-services = { id = "com.google.gms.google-services", version = "4.3.15" }

0 comments on commit de8930d

Please sign in to comment.