Skip to content

Commit

Permalink
update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
geminiwen committed May 3, 2015
1 parent 91165cf commit 3efb084
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

task wrapper(type: Wrapper) {
gradleVersion = '2.2.1'
}

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
classpath 'com.android.tools.build:gradle:1.1.2'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.10.+'
}
}
Expand Down
9 changes: 4 additions & 5 deletions demo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
apply plugin: 'android-sdk-manager'
apply plugin: 'android'
apply plugin: 'com.android.application'


android {
compileSdkVersion 20
buildToolsVersion "20"
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
minSdkVersion 8
targetSdkVersion 20
targetSdkVersion 22
versionCode 2
versionName "1.0.1"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
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 Jun 09 09:36:23 CST 2014
#Sun May 03 23:30:33 CST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
9 changes: 4 additions & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
apply plugin: 'android-library'
apply plugin: 'com.android.library'

android {
compileSdkVersion 20
compileSdkVersion 22
buildToolsVersion "20"

defaultConfig {
minSdkVersion 8
targetSdkVersion 20
targetSdkVersion 22
versionCode 10
versionName "1.0.9"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
Expand All @@ -28,4 +27,4 @@ dependencies {
compile 'com.squareup.picasso:picasso:+'
compile 'com.nineoldandroids:library:+'
}
apply from: './gradle-mvn-push.gradle'
apply from: './gradle-mvn-push.gradle'

0 comments on commit 3efb084

Please sign in to comment.