Skip to content

Commit

Permalink
update minSdkVersion code
Browse files Browse the repository at this point in the history
  • Loading branch information
李松 committed Nov 25, 2016
1 parent df72366 commit 2cb599c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Fresco在GitHub上的项目地址:https://github.com/facebook/fresco
}
}
compile 'com.facebook.fresco.helper:fresco-helper:1.1.2'
compile 'com.facebook.fresco.helper:fresco-photoview:1.1.2'
compile 'com.facebook.fresco.helper:fresco-helper:1.1.3'
compile 'com.facebook.fresco.helper:fresco-photoview:1.1.3'
```

## 目前对以下需求进行了封装
Expand Down
11 changes: 6 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ android {
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.android.fresco.demo"
minSdkVersion 17

minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
Expand All @@ -25,11 +26,11 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// compile project(':fresco-helper')
// compile project(':fresco-photoview')
compile project(':fresco-helper')
compile project(':fresco-photoview')

compile 'com.facebook.fresco.helper:fresco-helper:1.1.2'
compile 'com.facebook.fresco.helper:fresco-photoview:1.1.2'
// compile 'com.facebook.fresco.helper:fresco-helper:1.1.2'
// compile 'com.facebook.fresco.helper:fresco-photoview:1.1.2'

compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:recyclerview-v7:24.2.1'
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ allprojects {
jcenter()
// mavenCentral()

maven {
url 'https://dl.bintray.com/hpdx/maven/'
}
// maven {
// url 'https://dl.bintray.com/hpdx/maven/'
// }
}
}

Expand Down
10 changes: 5 additions & 5 deletions fresco-helper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ android {
buildToolsVersion "24.0.2"

defaultConfig {
minSdkVersion 17
minSdkVersion 16
targetSdkVersion 22
versionCode 2
versionName "1.0.1"
versionCode 1
versionName "1.0"
}

buildTypes {
Expand Down Expand Up @@ -42,7 +42,7 @@ dependencies {
// Maven Group ID
group = "com.facebook.fresco.helper"
// library的版本号,后面每次更新都需要更改这个值
version = "1.1.2"
version = "1.1.3"

// 生成jar包的task
task sourcesJar(type: Jar) {
Expand Down Expand Up @@ -80,7 +80,7 @@ install {
packaging 'aar'
groupId 'com.facebook.fresco.helper'
artifactId 'fresco-helper'
version '1.1.2'
version '1.1.3'

licenses {
license {
Expand Down
10 changes: 5 additions & 5 deletions fresco-photoview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ apply plugin: 'com.jfrog.bintray'

android {
compileSdkVersion 24
buildToolsVersion "25.0.0"
buildToolsVersion "24.0.2"

defaultConfig {
minSdkVersion 17
targetSdkVersion 24
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
Expand Down Expand Up @@ -39,7 +39,7 @@ dependencies {
// Maven Group ID
group = "com.facebook.fresco.helper"
// library的版本号,后面每次更新都需要更改这个值
version = "1.1.2"
version = "1.1.3"

// 生成jar包的task
task sourcesJar(type: Jar) {
Expand Down Expand Up @@ -77,7 +77,7 @@ install {
packaging 'aar'
groupId 'com.facebook.fresco.helper'
artifactId 'fresco-photoview'
version '1.1.2'
version '1.1.3'

licenses {
license {
Expand Down

0 comments on commit 2cb599c

Please sign in to comment.