amitshekhariitbhu / Fast-Android-Networking

🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
https://outcomeschool.com
Apache License 2.0
5.68k stars 956 forks source link

Couldn't use the same with the mavencenteral #568

Closed DhanukaElectrotech closed 1 month ago

DhanukaElectrotech commented 3 years ago

Couldn't use the same with the mavencenteral, it's working with jcenter only. but notwith the mavenCentral, as per the jcenter is now deprecated.

inyong1 commented 3 years ago

Couldn't use the same with the mavencenteral, it's working with jcenter only. but notwith the mavenCentral, as per the jcenter is now deprecated.

Usu this dependency implementation 'com.github.amitshekhariitbhu:Fast-Android-Networking:1.0.2'

avnishmishra23 commented 3 years ago

also add maven { url "https://jitpack.io" } inside build.gradle in allprojects -> repository like below:-

allprojects { repositories { maven { url "https://jitpack.io" } } }

amitshekhariitbhu commented 1 month ago

Solution:

Add this in your settings.gradle:

maven { url 'https://jitpack.io' }

If you are using settings.gradle.kts, add the following:

maven { setUrl("https://jitpack.io") }

Add this in your build.gradle

implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4'

If you are using build.gradle.kts, add the following:

implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4")

Using the Fast Android Networking with Jackson Parser

Add this in your build.gradle

implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4'

If you are using build.gradle.kts, add the following:

implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4")

Using the Fast Android Networking with RxJava2

Add this in your build.gradle

implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:rx2-android-networking:1.0.4'

If you are using build.gradle.kts, add the following:

implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:rx2-android-networking:1.0.4")

Using the Fast Android Networking with RxJava

Add this in your build.gradle

implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:rx-android-networking:1.0.4'

If you are using build.gradle.kts, add the following:

implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:rx-android-networking:1.0.4")