Skip to content

Commit 1e9cb01

Browse files
committed
Update Readme
1 parent 861ba8c commit 1e9cb01

File tree

1 file changed

+40
-17
lines changed

1 file changed

+40
-17
lines changed

README.md

+40-17
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,47 @@ It allows you to save any type or list in the sharedpreferences and retrieve it
55

66
# Installation
77

8-
<b>Add jitpack.io to your root gradle file (project level)</b>
98

10-
```groovy
11-
allprojects {
12-
repositories {
13-
...
14-
maven { url 'https://jitpack.io' }
15-
}
16-
}
17-
```
18-
<b>Add FastSave-Android to your app level build.gradle dependency</b>
19-
20-
```groovy
21-
dependencies {
22-
implementation 'com.github.yehiahd:FastSave-Android:1.0.2'
23-
}
24-
25-
```
9+
* **Gradle**
10+
11+
Add jitpack.io to your root gradle file (project level) :
12+
```gradle
13+
allprojects {
14+
repositories {
15+
...
16+
maven { url 'https://jitpack.io' }
17+
}
18+
}
19+
```
20+
21+
Add the dependency in your app build.gradle
22+
```gradle
23+
dependencies {
24+
implementation 'com.github.yehiahd:FastSave-Android:1.0.2'
25+
}
26+
```
27+
28+
* **Maven**
29+
30+
Add the JitPack repository to your build file
31+
```gradle
32+
<repositories>
33+
<repository>
34+
<id>jitpack.io</id>
35+
<url>https://jitpack.io</url>
36+
</repository>
37+
</repositories>
38+
```
39+
40+
Add FastSave-Android to your app level build.gradle dependency
41+
42+
```gradle
43+
<dependency>
44+
<groupId>com.github.yehiahd</groupId>
45+
<artifactId>FastSave-Android</artifactId>
46+
<version>1.0.2</version>
47+
</dependency>
48+
```
2649

2750
<b>You have to initialize the FastSave library inside your application class :</b>
2851

0 commit comments

Comments
 (0)