From 6af1b5d9d1fe0baeb1becbac9492e91ecad4baf4 Mon Sep 17 00:00:00 2001 From: hyojin Date: Sat, 30 Jan 2021 12:38:14 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20billing=20dependency=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(#89)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle.kts | 1 + buildSrc/src/main/kotlin/Dependencies.kt | 26 +++++++++--------------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 58691b1..cd1dc46 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -110,6 +110,7 @@ dependencies { implementation(Libs.LIFECYCLE_LIVE_DATA_KTX) implementation(Libs.NAVIGATION_FRAGMENT) implementation(Libs.NAVIGATION_UI_KTX) + implementation(Libs.BILLING) // Libraries implementation(Libs.RETROFIT) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 496dba9..c7f7349 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -10,6 +10,7 @@ object Versions { const val COORDINATOR_LAYOUT = "1.1.0" const val RECYCLER_VIEW = "1.1.0" const val MATERIAL = "1.2.0" + const val BILLING = "3.0.0" const val CORE_KTX = "1.3.0" const val ACTIVITY_KTX = "1.1.0" @@ -42,30 +43,23 @@ object Versions { object Libs { // Kotlin const val KOTLIN = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.KOTLIN}" - const val COROUTINES_CORE = - "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.COROUTINES}" - const val COROUTINES_ANDROID = - "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.COROUTINES}" + const val COROUTINES_CORE = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.COROUTINES}" + const val COROUTINES_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.COROUTINES}" // Android Framework - const val CONSTRAINT_LAYOUT = - "androidx.constraintlayout:constraintlayout:${Versions.CONSTRAINT_LAYOUT}" + const val CONSTRAINT_LAYOUT = "androidx.constraintlayout:constraintlayout:${Versions.CONSTRAINT_LAYOUT}" const val APP_COMPAT = "androidx.appcompat:appcompat:${Versions.APP_COMPAT}" const val RECYCLER_VIEW = "androidx.recyclerview:recyclerview:${Versions.RECYCLER_VIEW}" - const val COORDINATOR_LAYOUT = - "androidx.coordinatorlayout:coordinatorlayout:${Versions.COORDINATOR_LAYOUT}" + const val COORDINATOR_LAYOUT = "androidx.coordinatorlayout:coordinatorlayout:${Versions.COORDINATOR_LAYOUT}" const val MATERIAL = "com.google.android.material:material:${Versions.MATERIAL}" const val CORE_KTX = "androidx.core:core-ktx:${Versions.CORE_KTX}" const val ACTIVITY_KTX = "androidx.activity:activity-ktx:${Versions.ACTIVITY_KTX}" const val FRAGMENT_KTX = "androidx.fragment:fragment-ktx:${Versions.FRAGMENT_KTX}" - const val LIFECYCLE_VIEW_MODEL_KTX = - "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.LIFECYCLE}" - const val LIFECYCLE_LIVE_DATA_KTX = - "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.LIFECYCLE}" - const val NAVIGATION_FRAGMENT = - "androidx.navigation:navigation-fragment-ktx:${Versions.NAVIGATION_FRAGMENT}" - const val NAVIGATION_UI_KTX = - "androidx.navigation:navigation-ui-ktx:${Versions.NAVIGATION_UI_KTX}" + const val LIFECYCLE_VIEW_MODEL_KTX = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.LIFECYCLE}" + const val LIFECYCLE_LIVE_DATA_KTX = "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.LIFECYCLE}" + const val NAVIGATION_FRAGMENT = "androidx.navigation:navigation-fragment-ktx:${Versions.NAVIGATION_FRAGMENT}" + const val NAVIGATION_UI_KTX = "androidx.navigation:navigation-ui-ktx:${Versions.NAVIGATION_UI_KTX}" + const val BILLING = "com.android.billingclient:billing-ktx:${Versions.BILLING}" // Third Party Libraries const val RETROFIT = "com.squareup.retrofit2:retrofit:${Versions.RETROFIT}"