diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-08-23 01:07:18 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-08-23 01:07:27 +0530 |
commit | 840d65881edcf453436b039aeed39f8762a84a76 (patch) | |
tree | 66aff38a953b0e52da6d5de22a653ae8fe9e7384 | |
parent | c18f6818e8a5947d347959b6135ad9eac3671b99 (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.gradle | 4 |
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" |