Skip to content

Commit 95dfbbb

Browse files
author
mcxiaoke
committed
fix build, update gradle to latest
1 parent f09dac8 commit 95dfbbb

File tree

4 files changed

+12
-83
lines changed

4 files changed

+12
-83
lines changed

app/build.gradle

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
apply plugin: 'android'
1+
apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 19
5-
buildToolsVersion "19.0.3"
5+
buildToolsVersion "19.1.0"
66

77
defaultConfig {
8-
minSdkVersion 8
8+
minSdkVersion 9
99
targetSdkVersion 19
1010
versionCode 20130328
11-
versionName "1.9.2-opensource"
11+
versionName "1.9.2"
1212
}
1313
buildTypes {
1414
release {
@@ -18,12 +18,14 @@ android {
1818
}
1919

2020
lintOptions {
21-
abortOnError false
22-
}
21+
abortOnError false
22+
}
2323
}
2424

2525
dependencies {
2626
compile fileTree(dir: 'libs', include: ['*.jar'])
27-
compile 'com.android.support:support-v4:+'
28-
compile 'com.mcxiaoke.pulltorefresh:library:2.5.3'
27+
compile 'com.android.support:support-v4:19.1.0'
28+
compile('com.mcxiaoke.pulltorefresh:library:2.5.3') {
29+
exclude group: 'com.android.support', module: 'support-v4'
30+
}
2931
}

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
mavenCentral()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:0.9.+'
7+
classpath 'com.android.tools.build:gradle:0.12.+'
88
}
99
}
1010

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-bin.zip

import-summary.txt

-73
This file was deleted.

0 commit comments

Comments
 (0)