diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2a3e8fbd9..d27d00687 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -148,6 +148,13 @@ dependencies { // ---------- Robolectric ------------ testImplementation(libs.robolectric) + + // ---------- Firebase ------------ + implementation(libs.firebase.database.ktx) + implementation(libs.firebase.firestore) + implementation(libs.firebase.ui.auth) + implementation(libs.firebase.auth.ktx) + implementation(libs.firebase.auth) } tasks.withType { diff --git a/build.gradle.kts b/build.gradle.kts index 208f650ab..a93c57cda 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,5 +3,5 @@ plugins { alias(libs.plugins.androidApplication) apply false alias(libs.plugins.jetbrainsKotlinAndroid) apply false alias(libs.plugins.ktfmt) apply false - + alias(libs.plugins.gms) apply false } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a976b61ba..5f9653483 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,14 @@ lifecycleRuntimeKtx = "2.7.0" kaspresso = "1.5.5" robolectric = "4.11.1" sonar = "4.4.1.3373" +gms = "4.4.2" + +# Firebase Libraries +firebaseAuth = "23.0.0" +firebaseAuthKtx = "23.0.0" +firebaseDatabaseKtx = "21.0.0" +firebaseFirestore = "25.1.0" +firebaseUiAuth = "8.0.0" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } @@ -41,8 +49,16 @@ kaspresso-compose = { group = "com.kaspersky.android-components", name = "kaspre robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } +# Firebase Libraries +firebase-auth = { module = "com.google.firebase:firebase-auth", version.ref = "firebaseAuth" } +firebase-auth-ktx = { module = "com.google.firebase:firebase-auth-ktx", version.ref = "firebaseAuthKtx" } +firebase-database-ktx = { module = "com.google.firebase:firebase-database-ktx", version.ref = "firebaseDatabaseKtx" } +firebase-firestore = { module = "com.google.firebase:firebase-firestore", version.ref = "firebaseFirestore" } +firebase-ui-auth = { module = "com.firebaseui:firebase-ui-auth", version.ref = "firebaseUiAuth" } + [plugins] androidApplication = { id = "com.android.application", version.ref = "agp" } jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } ktfmt = { id = "com.ncorti.ktfmt.gradle", version.ref = "ktfmt" } sonar = { id = "org.sonarqube", version.ref = "sonar" } +gms = { id = "com.google.gms.google-services", version.ref = "gms" } \ No newline at end of file