aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/build.gradle
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 /ui/build.gradle
parentbuild: uprev core-ktx and material components (diff)
downloadwireguard-android-840d65881edcf453436b039aeed39f8762a84a76.tar.xz
wireguard-android-840d65881edcf453436b039aeed39f8762a84a76.zip
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>
Diffstat (limited to 'ui/build.gradle')
-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"