Skip to content

Commit d25f9d8

Browse files
committed
Fix code block indentation
1 parent 6d6f394 commit d25f9d8

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you are using Gradle to get a GitHub project into your build, you will need t
1818
**Step 1.** Add the JitPack maven repository to the list of repositories:
1919

2020
```gradle
21-
url "https://jitpack.io"
21+
url "https://jitpack.io"
2222
```
2323

2424
**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
3333

3434
Gradle example:
3535
```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+
}
4545
```
4646

4747
*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
5656

5757
For example:
5858
```gradle
59-
// dependency on the latest commit in the master branch
60-
implementation 'com.github.jitpack:gradle-simple:master-SNAPSHOT'
59+
// dependency on the latest commit in the master branch
60+
implementation 'com.github.jitpack:gradle-simple:master-SNAPSHOT'
6161
```
6262

6363
Adding `-SNAPSHOT` will build the latest commit on the master branch.
@@ -87,8 +87,8 @@ In addition to snapshot builds JitPack supports building Pull Requests. Simply u
8787

8888
For example:
8989
```gradle
90-
// dependency for Pull Request 4
91-
implementation 'com.github.jitpack:gradle-simple:PR4-SNAPSHOT'
90+
// dependency for Pull Request 4
91+
implementation 'com.github.jitpack:gradle-simple:PR4-SNAPSHOT'
9292
```
9393

9494
Publishing on JitPack
@@ -107,13 +107,13 @@ As long as there's a build file in your repository and it can install your libra
107107
Add dependency information in your README. Tell the world where to get your library:
108108

109109
```gradle
110-
repositories {
111-
jcenter()
112-
maven { url "https://jitpack.io" }
113-
}
114-
dependencies {
115-
implementation 'com.github.jitpack:gradle-simple:1.0'
116-
}
110+
repositories {
111+
jcenter()
112+
maven { url "https://jitpack.io" }
113+
}
114+
dependencies {
115+
implementation 'com.github.jitpack:gradle-simple:1.0'
116+
}
117117
```
118118

119119
- Add sources jar. Creating the sources jar makes it easier for others to use your code and contribute.

0 commit comments

Comments
 (0)