summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-08-23 01:07:18 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-08-23 01:07:27 +0530
commit840d65881edcf453436b039aeed39f8762a84a76 (patch)
tree66aff38a953b0e52da6d5de22a653ae8fe9e7384
parentc18f6818e8a5947d347959b6135ad9eac3671b99 (diff)
build: switch fragment and preference to -ktx artifacts
Google recommends all dependencies with -ktx variants depend on them directly since they transitively pull in the main artifacts and offer extensions for better usage from Kotlin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--ui/build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index af92d4d4..7a652462 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -63,8 +63,8 @@ dependencies {
implementation "androidx.biometric:biometric:$biometricVersion"
implementation "androidx.core:core-ktx:$coreKtxVersion"
implementation "androidx.databinding:databinding-runtime:$agpVersion"
- implementation "androidx.fragment:fragment:$fragmentVersion"
- implementation "androidx.preference:preference:$preferenceVersion"
+ implementation "androidx.fragment:fragment-ktx:$fragmentVersion"
+ implementation "androidx.preference:preference-ktx:$preferenceVersion"
implementation "com.google.android.material:material:$materialComponentsVersion"
implementation "com.journeyapps:zxing-android-embedded:$zxingEmbeddedVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"