Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
XhinLiang committed Mar 10, 2016
1 parent af44f1b commit 237a80b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,14 @@ allprojects {
}
}
```
**2. Add the dependency**
**2. Add the dependencies**

```
dependencies {
compile 'com.github.XhinLiang:MDPreference:0.1.1'
compile 'com.github.XhinLiang.MDPreference:mdpreference:0.1.1@aar'
compile 'com.github.XhinLiang.MDPreference:material:0.1.1@aar'
}
```
### Maven
**1. Add the JitPack repository to your build file**
```
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
**2. Add the dependency**

```
<dependency>
<groupId>com.github.XhinLiang</groupId>
<artifactId>MDPreference</artifactId>
<version>0.1.1</version>
</dependency>
```

## Usage

Expand Down
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile project(':mdpreference')
compile 'com.github.XhinLiang.MDPreference:mdpreference:0.1.1@aar'
compile 'com.github.XhinLiang.MDPreference:material:0.1.1@aar'
}
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildscript {
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}

Expand Down

0 comments on commit 237a80b

Please sign in to comment.