From 9f7bc2c1ffa63695a4483ac77a672608fa739d8c Mon Sep 17 00:00:00 2001 From: AMIT SHEKHAR Date: Sun, 18 Aug 2024 23:28:45 +0530 Subject: [PATCH] Update rxjava2_support.md --- pages/doc/rxjava2_support.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/pages/doc/rxjava2_support.md b/pages/doc/rxjava2_support.md index ba5ef8a5..01649a0c 100644 --- a/pages/doc/rxjava2_support.md +++ b/pages/doc/rxjava2_support.md @@ -10,10 +10,24 @@ folder: doc ## Using Fast Android Networking Library in your application with RxJava2 -Add this in your build.gradle +Add this in your `settings.gradle`: +```groovy +maven { url 'https://jitpack.io' } +``` + +If you are using `settings.gradle.kts`, add the following: +```kotlin +maven { setUrl("https://jitpack.io") } +``` +Add this in your `build.gradle` ```groovy -compile 'com.amitshekhar.android:rx2-android-networking:1.0.2' +implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:rx2-android-networking:1.0.4' +``` + +If you are using `build.gradle.kts`, add the following: +```kotlin +implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:rx2-android-networking:1.0.4") ``` Do not forget to add internet permission in manifest if already not present