Skip to content

Commit db70835

Browse files
authored
Update README.md
1 parent 1a39ac9 commit db70835

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,20 @@ In order to use the library, there are 4 different options:
100100

101101
**1. Gradle dependency** (recommended)
102102

103-
- Add the following to your `build.gradle`:
103+
- Add the following to your project level `build.gradle`:
104+
-
104105
```gradle
105-
repositories {
106-
maven { url "https://jitpack.io" }
106+
allprojects {
107+
repositories {
108+
maven { url "https://jitpack.io" }
109+
}
107110
}
108-
111+
```
112+
- Add this to your app `build.gradle`:
113+
114+
```gradle
109115
dependencies {
110-
compile 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
116+
compile 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
111117
}
112118
```
113119

0 commit comments

Comments
 (0)