summaryrefslogtreecommitdiff
path: root/gradle
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-09-28 01:29:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-09-28 01:29:24 +0530
commit41c86b67f3f1fe320e702b05887f22188a5b42fc (patch)
treefa1b5c3c93d4d9e293dadf226e69d7c47a90d5ff /gradle
parent5f3aa611c94a0da933e7a94f6fa0cceba14899fa (diff)
refactor: use `runSuspendCatching` from `kotlin-result`
Diffstat (limited to 'gradle')
-rw-r--r--gradle/libs.versions.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 4b0c6589..d4669be6 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -9,6 +9,7 @@ coroutines = "1.7.3"
flowbinding = "1.2.0"
hilt = "2.48"
kotlin = "1.9.10"
+kotlinResult = "1.1.18"
leakcanary = "2.12"
lifecycle = "2.6.2"
@@ -81,7 +82,8 @@ thirdparty-flowbinding-android = { module = "io.github.reactivecircus.flowbindin
# JGit upgrades also raise its minimum Java runtime requirements that we cannot satisfy on Android
# noinspection GradleDependency
thirdparty-jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
-thirdparty-kotlinResult = "com.michael-bull.kotlin-result:kotlin-result:1.1.18"
+thirdparty-kotlinResult = { module = "com.michael-bull.kotlin-result:kotlin-result", version.ref = "kotlinResult" }
+thirdparty-kotlinResult-coroutines = { module = "com.michael-bull.kotlin-result:kotlin-result-coroutines", version.ref = "kotlinResult" }
thirdparty-leakcanary-core = { module = "com.squareup.leakcanary:leakcanary-android-core", version.ref = "leakcanary" }
thirdparty-logcat = "com.squareup.logcat:logcat:0.1"
thirdparty-modernAndroidPrefs = "de.maxr1998:modernandroidpreferences:2.3.2"