You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ If you are using Gradle to get a GitHub project into your build, you will need t
18
18
**Step 1.** Add the JitPack maven repository to the list of repositories:
19
19
20
20
```gradle
21
-
url "https://jitpack.io"
21
+
url "https://jitpack.io"
22
22
```
23
23
24
24
**Step 2.** Add the dependency information:
@@ -33,15 +33,15 @@ To see an example head to [jitpack.io](https://jitpack.io) and 'Look Up' a GitHu
33
33
34
34
Gradle example:
35
35
```gradle
36
-
allprojects {
37
-
repositories {
38
-
jcenter()
39
-
maven { url "https://jitpack.io" }
40
-
}
41
-
}
42
-
dependencies {
43
-
implementation 'com.github.User:Repo:Version'
44
-
}
36
+
allprojects {
37
+
repositories {
38
+
jcenter()
39
+
maven { url "https://jitpack.io" }
40
+
}
41
+
}
42
+
dependencies {
43
+
implementation 'com.github.User:Repo:Version'
44
+
}
45
45
```
46
46
47
47
*Note*: when using multiple repositories in build.gradle it is recommended to add JitPack *at the end*. Gradle will go through all repositories in order until it finds a dependency.
@@ -56,8 +56,8 @@ A snapshot is a version that has not been released. The difference between a rea
56
56
57
57
For example:
58
58
```gradle
59
-
// dependency on the latest commit in the master branch
0 commit comments