Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-voyager committed Oct 18, 2016
1 parent ea0c990 commit 4b208db
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@ There are two ways:
- just add following code to you build.gradle:

```groovy
compile 'top.wuhaojie:installerlibrary:1.0.0'
// Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
// Add the dependency
dependencies {
compile 'com.github.a-voyager:AutoInstaller:ea0c990b9e'
}
```

## Usage
Expand Down
13 changes: 11 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,17 @@
- 只需要在build.gradle中添加一下代码即可(可能暂时无法使用):

```groovy
compile 'top.wuhaojie:installerlibrary:1.0.0'
```
// 在项目根目录 build.gradle 添加
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
// 在App目录 build.gradle 添加依赖
dependencies {
compile 'com.github.a-voyager:AutoInstaller:ea0c990b9e'
}
## 用法
- 获取实例
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.android.tools.build:gradle:2.2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Tue Oct 18 10:33:38 CST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

0 comments on commit 4b208db

Please sign in to comment.