From 4d3f194cae76d28e7599cca70a3703a5a1b7d9c5 Mon Sep 17 00:00:00 2001 From: KotlinGeekDev Date: Fri, 27 Dec 2024 00:38:05 +0100 Subject: [PATCH] Gradle catalog for rust-nostr dependency. --- app/build.gradle.kts | 2 +- settings.gradle.kts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 62f96c1e0..4911073c0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -226,7 +226,7 @@ dependencies { implementation(libs.ktor.client.okhttp) // Nostr - implementation("org.rust-nostr:nostr-sdk:0.37.0") + implementation(libs.rust.nostr) // Markdown implementation("org.jetbrains:markdown:0.7.3") diff --git a/settings.gradle.kts b/settings.gradle.kts index bae582224..bb76d5dc9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -208,6 +208,12 @@ dependencyResolutionManagement { library("tagsoup", "org.ccil.cowan.tagsoup", "tagsoup").versionRef("tagsoup") // RSS library("gofeed-android", "com.nononsenseapps.gofeed", "gofeed-android").versionRef("gofeed") + // Nostr + library( + "rust-nostr", + "org.rust-nostr", + "nostr-sdk" + ).version("0.37.0") // For better fetching library("okhttp", "com.squareup.okhttp3", "okhttp").withoutVersion()