aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/build.gradle
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-15 23:30:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-15 23:46:11 +0200
commit49ac61304e5a244c674028d279f70f9631351f9c (patch)
treee196a0fb2cddb9674f6f72e50801a57e05599140 /ui/build.gradle
parentMonkeyedTextInputEditText: au revoir (diff)
downloadwireguard-android-49ac61304e5a244c674028d279f70f9631351f9c.tar.xz
wireguard-android-49ac61304e5a244c674028d279f70f9631351f9c.zip
coroutines: use lifecycleScope where appropriate
There's still a bit of GlobalScope lingering around, which might be removable. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/build.gradle')
-rw-r--r--ui/build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index 936a95d8..26739f10 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -66,6 +66,7 @@ dependencies {
implementation "androidx.databinding:databinding-runtime:$agpVersion"
implementation "androidx.fragment:fragment-ktx:$fragmentVersion"
implementation "androidx.preference:preference-ktx:$preferenceVersion"
+ implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleRuntimeKtxVersion"
implementation "com.github.material-components:material-components-android:$materialComponentsVersion"
implementation "com.journeyapps:zxing-android-embedded:$zxingEmbeddedVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"