From 5641a58699b30c15d41ed388874103d1422f8382 Mon Sep 17 00:00:00 2001 From: Seunggu Kang Date: Sun, 26 May 2024 20:56:23 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20playintegrity=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle.kts | 1 + feature/main/build.gradle.kts | 3 ++- gradle/libs.versions.toml | 33 ++++++++++++++++++--------------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b94ec547d..0efbc6b82 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -56,6 +56,7 @@ dependencies { implementation(project(":feature:intermediator")) implementation(libs.androidx.core.splashscreen) + implementation(libs.google.playintegrity) kapt(libs.hilt.compiler) implementation(libs.hilt.android) diff --git a/feature/main/build.gradle.kts b/feature/main/build.gradle.kts index 58b5b1d4c..d46d2787b 100644 --- a/feature/main/build.gradle.kts +++ b/feature/main/build.gradle.kts @@ -62,7 +62,8 @@ dependencies { implementation(project(":core:data")) implementation(libs.androidx.core.splashscreen) - implementation("com.google.firebase:firebase-auth:22.3.0") + implementation("com.google.firebase:firebase-auth:23.0.0") + implementation(libs.google.playintegrity) kapt(libs.hilt.compiler) implementation(libs.hilt.android) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9081396af..a256b0bb1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -20,6 +20,7 @@ hiltNavigationCompose = "1.0.0" accompanistPager = "0.20.1" accompanistPagerIndicators = "0.20.1" livedata = "1.3.1" +integrity = "1.3.0" googleService = "4.3.15" firebaseBom = "32.3.1" @@ -76,24 +77,33 @@ androidx-compose-navigation-test = { group = "androidx.navigation", name = "navi androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "androidxComposeFoundation" } androidx-compose-runtime-livedata = { group = "androidx.compose.runtime", name = "runtime-livedata", version.ref = "livedata" } +kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } +kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinxDatetime" } +kotlinx-collection-imuutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "kotlinxImmutable" } +moshi-kotlin = { group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshiKotlin" } +retrofit-kotlin-serialization = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "retrofitKotlinxSerializationJson" } + +#hilt hilt-core = { group = "com.google.dagger", name = "hilt-core", version.ref = "hilt" } hilt-compiler = { group = "com.google.dagger", name = "hilt-compiler", version.ref = "hilt" } - hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" } hilt-android-testing = { group = "com.google.dagger", name = "hilt-android-testing", version.ref = "hilt" } hilt-android-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" } - hilt-navigation-compose = { group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hiltNavigationCompose" } okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" } retrofit-core = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" } retrofit-converter-moshi = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit" } -moshi-kotlin = { group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshiKotlin" } -retrofit-kotlin-serialization = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "retrofitKotlinxSerializationJson" } -kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } -kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinxDatetime" } -kotlinx-collection-imuutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "kotlinxImmutable" } +google-gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" } +google-service = { group = "com.google.gms", name = "google-services", version.ref = "googleService" } +google-playintegrity = { group = "com.google.android.play", name = "integrity", version.ref = "integrity" } + +# firebase +firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom" } +firebase-messaging = { group = "com.google.firebase", name = "firebase-messaging", version.ref = "firebaseMessaging" } +firebase-auth-ktx = { group = "com.google.firebase", name = "firebase-auth-ktx", version = "22.3.0" } +firebase-common-ktx = { group = "com.google.firebase", name = "firebase-common-ktx", version = "20.4.2" } landscapist-bom = { group = "com.github.skydoves", name = "landscapist-bom", version.ref = "landscapist" } landscapist-coil = { group = "com.github.skydoves", name = "landscapist-coil" } @@ -105,14 +115,10 @@ compose-shimmer = { group = "com.valentinilk.shimmer", name = "compose-shimmer", accompanist-pager = { group = "com.google.accompanist", name = "accompanist-pager", version.ref = "accompanistPager" } accompanist-pager-indicators = { group = "com.google.accompanist", name = "accompanist-pager-indicators", version.ref = "accompanistPagerIndicators" } +# social login naver-oauth = { group = "com.navercorp.nid", name = "oauth", version.ref = "naverOauth" } kakao-oauth = { group = "com.kakao.sdk", name = "v2-user", version.ref = "kakaoOauth" } -google-gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" } -google-service = { group = "com.google.gms", name = "google-services", version.ref = "googleService" } -firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom" } -firebase-messaging = { group = "com.google.firebase", name = "firebase-messaging", version.ref = "firebaseMessaging" } - # modular graph dependency-graph = { group = "com.vanniktech", name = "gradle-dependency-graph-generator-plugin", version.ref = "dependencyGraph" } @@ -122,9 +128,6 @@ androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso-core" } androidx-junit-ktx = { group = "androidx.test.ext", name = "junit-ktx", version = "1.1.5" } material = { group = "com.google.android.material", name = "material", version.ref = "material" } -firebase-auth-ktx = { group = "com.google.firebase", name = "firebase-auth-ktx", version = "22.3.0" } -firebase-common-ktx = { group = "com.google.firebase", name = "firebase-common-ktx", version = "20.4.2" } - [plugins] com-android-application = { id = "com.android.application", version.ref = "agp" }