Skip to content

Commit

Permalink
[chore] firebase 의존성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ddyeon committed Jul 11, 2024
1 parent ee8877e commit 38cc469
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
alias(libs.plugins.hilt)
alias(libs.plugins.kotlin.kapt)
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.google.gms.service)
}

android {
Expand Down Expand Up @@ -32,7 +33,6 @@ android {
buildTypes {
debug {
isDebuggable = true
applicationIdSuffix = ".debug"
isMinifyEnabled = false
buildConfigField("Boolean", "DEBUG_MODE", "true")
}
Expand Down Expand Up @@ -96,4 +96,7 @@ dependencies {
// Hilt
implementation(libs.hilt.android)
kapt(libs.hilt.compiler)

//Firebase
implementation(platform(libs.firebase.bom))
}
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
alias(libs.plugins.spotless) apply true
alias(libs.plugins.hilt) apply false
alias(libs.plugins.kotlin.kapt) apply false
alias(libs.plugins.google.gms.service) apply false
}

subprojects {
Expand Down
9 changes: 7 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ compile-sdk = "34"
min-sdk = "28"
target-sdk = "33"
version-code = "1"
versionName = "1.0"
versionName = "1.0.0"

agp = "8.1.3"
org-jetbrains-kotlin-android = "1.8.10"
Expand Down Expand Up @@ -39,6 +39,8 @@ retrofitConverter = "1.0.0"
orbit = "8.0.0"
datastore = "1.1.1"
jsoup = "1.14.3"
gms = "4.4.2"
firebase-bom = "33.1.1"

[libraries]
kotlin-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlin" }
Expand Down Expand Up @@ -98,6 +100,9 @@ coil = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil" }
#html
jsoup = { group = "org.jsoup", name = "jsoup", version.ref = "jsoup" }

#firebase
firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebase-bom"}

[plugins]
com-android-application = { id = "com.android.application", version.ref = "agp" }
org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "org-jetbrains-kotlin-android" }
Expand All @@ -107,7 +112,7 @@ spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }

google-gms-service = { id = "com.google.gms.google-services", version.ref = "gms" }

[bundles]
okhttp = ["okhttp", "okhttp-logging-interceptor"]

0 comments on commit 38cc469

Please sign in to comment.