Skip to content

Commit 1dbde7c

Browse files
Update version
1 parent f91c301 commit 1dbde7c

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,26 @@ Fast Android Networking Library supports Android 2.3 (Gingerbread) and later.
4848

4949
## Using Fast Android Networking Library in your application
5050

51-
Add this in your build.gradle
51+
Add this in your `settings.gradle`:
5252
```groovy
53-
implementation 'com.amitshekhar.android:android-networking:1.0.2'
53+
maven { url 'https://jitpack.io' }
5454
```
55+
56+
If you are using `settings.gradle.kts`, add the following:
57+
```kotlin
58+
maven { setUrl("https://jitpack.io") }
59+
```
60+
61+
Add this in your `build.gradle`
62+
```groovy
63+
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3'
64+
```
65+
66+
If you are using `build.gradle.kts`, add the following:
67+
```kotlin
68+
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3")
69+
```
70+
5571
Do not forget to add internet permission in manifest if already not present
5672
```xml
5773
<uses-permission android:name="android.permission.INTERNET" />
@@ -68,10 +84,19 @@ OkHttpClient okHttpClient = new OkHttpClient() .newBuilder()
6884
.build();
6985
AndroidNetworking.initialize(getApplicationContext(),okHttpClient);
7086
```
87+
7188
Using the Fast Android Networking with Jackson Parser
89+
90+
Add this in your `build.gradle`
7291
```groovy
73-
implementation 'com.amitshekhar.android:jackson-android-networking:1.0.2'
92+
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3'
7493
```
94+
95+
If you are using `build.gradle.kts`, add the following:
96+
```kotlin
97+
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3")
98+
```
99+
75100
```java
76101
// Then set the JacksonParserFactory like below
77102
AndroidNetworking.setParserFactory(new JacksonParserFactory());

0 commit comments

Comments
 (0)