Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoogolapple committed Jun 30, 2016
1 parent d118219 commit 14a5ca7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

### Gradle 依赖

由于该库依赖的最新版的 PhotoView 是传到 jitpack 的,所以需要在项目根 build.gradle 文件中加入下面的配置。如果你使用的是小于1.2.6的版本,则不需要添加改配置

```groovy
allprojects {
repositories {
Expand All @@ -31,7 +33,7 @@ allprojects {
}
```

[![](https://jitpack.io/v/bingoogolapple/BGAPhotoPicker-Android.svg)](https://jitpack.io/#bingoogolapple/BGAPhotoPicker-Android) 「latestVersion」指的是左边这个 jitpack 徽章后面的「绿色部分」,请自行替换。请不要来问我「latestVersion」是什么
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/cn.bingoogolapple/bga-photopicker/badge.svg)](https://maven-badges.herokuapp.com/maven-central/cn.bingoogolapple/bga-photopicker) 「latestVersion」指的是左边这个 maven-central 徽章后面的「数字」,请自行替换。请不要再来问我「latestVersion」是什么了

```groovy
dependencies {
Expand All @@ -40,7 +42,7 @@ dependencies {
compile 'cn.bingoogolapple:bga-adapter:1.0.9@aar'
compile 'com.github.chrisbanes:PhotoView:1.2.6'
compile 'com.github.bingoogolapple:BGAPhotoPicker-Android:latestVersion'
compile 'cn.bingoogolapple:bga-photopicker:latestVersion@aar'
// 必须依赖下面四个图片加载库中的某一个
compile 'com.github.bumptech.glide:glide:3.7.0'
Expand Down
4 changes: 2 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ dependencies {
compile 'com.github.chrisbanes:PhotoView:1.2.6'


compile project(':library')
// compile 'cn.bingoogolapple:bga-photopicker:1.0.0@aar'
// compile project(':library')
compile 'cn.bingoogolapple:bga-photopicker:1.0.0@aar'


// 必须依赖下面四个图片加载库中的某一个
Expand Down

0 comments on commit 14a5ca7

Please sign in to comment.