Skip to content

Commit 1fd8e1f

Browse files
committed
Change dependency to jitpack until it is added to jcenter
1 parent 9e65e16 commit 1fd8e1f

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ ViewGroup backed by RecyclerView.Adapter = magic
66
# Gradle Dependency
77
Easily reference the library in your Android projects using this dependency in your module's `build.gradle` file:
88

9-
```Gradle
10-
dependencies {
11-
compile 'com.commit451:adapterlayout:1.0.0'
12-
}
13-
```
9+
Add it in your root build.gradle at the end of repositories:
10+
11+
allprojects {
12+
repositories {
13+
...
14+
maven { url "https://jitpack.io" }
15+
}
16+
}
17+
Step 2. Add the dependency
18+
19+
dependencies {
20+
compile 'com.github.Commit451:AdapterLayout:1.0.0'
21+
}
1422

1523
# Usage
1624
See the sample project for a full sample.

0 commit comments

Comments
 (0)