File tree 1 file changed +40
-17
lines changed
1 file changed +40
-17
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,47 @@ It allows you to save any type or list in the sharedpreferences and retrieve it
5
5
6
6
# Installation
7
7
8
- <b >Add jitpack.io to your root gradle file (project level)</b >
9
8
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
+ ```
26
49
27
50
<b >You have to initialize the FastSave library inside your application class :</b >
28
51
You can’t perform that action at this time.
0 commit comments