Skip to content

Commit

Permalink
1. Update target version
Browse files Browse the repository at this point in the history
2. Fix build break
  • Loading branch information
ike committed Apr 8, 2015
1 parent 0e1b579 commit 30dd1ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ dependencies {
}

android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 7
targetSdkVersion 19
targetSdkVersion 21
versionCode 1
versionName version
}
Expand Down Expand Up @@ -75,7 +75,10 @@ artifacts {
archives sourcesJar
}
Properties properties = new Properties()
properties.load(project.file('gradle.properties').newDataInputStream())
File gradle_properties = project.file('gradle.properties');
if (gradle_properties.exists()) {
properties.load(project.file('gradle.properties').newDataInputStream())
}
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
Expand Down
6 changes: 3 additions & 3 deletions samples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ dependencies {
}

android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
compileSdkVersion 21
buildToolsVersion "21.1.2"

defaultConfig {
minSdkVersion 7
targetSdkVersion 19
targetSdkVersion 21
}

signingConfigs {
Expand Down

0 comments on commit 30dd1ac

Please sign in to comment.