Skip to content

Commit 0ab1395

Browse files
committed
修改配置,加快编译速度
1 parent c6b1350 commit 0ab1395

5 files changed

Lines changed: 21 additions & 15 deletions

File tree

app/build.gradle

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ android {
66
useLibrary 'org.apache.http.legacy' // 因为 sdk23 去掉了 apache
77
buildToolsVersion "23.0.2"
88

9-
defaultConfig {
9+
dexOptions {
10+
incremental true
11+
}
12+
defaultConfig {
1013
applicationId "net.coding.program"
1114
renderscriptTargetApi 19
1215
// multiDexEnabled true
@@ -22,8 +25,8 @@ android {
2225

2326
dependencies {
2427
compile fileTree(dir: 'libs', include: ['*.jar'])
25-
compile 'com.android.support:support-v4:23.0.+'
26-
compile 'com.android.support:appcompat-v7:23.0.+'
28+
compile 'com.android.support:support-v4:23.1.1'
29+
compile 'com.android.support:appcompat-v7:23.1.1'
2730
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
2831
compile 'com.loopj.android:android-async-http:1.4.6'
2932
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
@@ -35,12 +38,12 @@ dependencies {
3538
compile 'com.umeng.analytics:analytics:latest.integration'
3639
compile 'com.melnykov:floatingactionbutton:1.3.0'
3740
compile 'de.greenrobot:eventbus:2.4.0'
38-
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.+'
41+
compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.11'
3942
compile 'com.github.chrisbanes.photoview:library:1.2.3'
40-
compile 'com.android.support:support-v13:23.0.+'
43+
compile 'com.android.support:support-v13:23.1.1'
4144
compile 'com.ms-square:etsyblur:0.1.0'
4245
compile 'com.github.lzyzsd:circleprogress:1.1.0@aar'
43-
compile 'com.android.support:cardview-v7:23.+'
46+
compile 'com.android.support:cardview-v7:23.1.1'
4447
compile 'it.neokree:MaterialNavigationDrawer:1.3.2'
4548
compile files('libs/BaiduLBS_Android.jar')
4649
compile 'com.github.chrisbanes.photoview:library:1.2.2'
@@ -57,7 +60,7 @@ dependencies {
5760
// compile 'com.twotoasters.jazzylistview:library:1.2.1'
5861
compile project(':social_sdk_library_project')
5962
compile 'com.bigkoo:convenientbanner:1.0.8'
60-
compile 'com.android.support:design:23.+'
63+
compile 'com.android.support:design:23.1.1'
6164
compile project(':scrollanimationlibrary')
6265
compile files('libs/pinyin4j-2.5.0.jar')
6366
// compile 'com.belerweb:pinyin4j:2.5.0'

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@
1313
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1414
# org.gradle.parallel=true
1515
#Wed Aug 26 20:47:18 CST 2015
16-
org.gradle.configureondemand=true
16+
org.gradle.configureondemand=true
17+
org.gradle.daemon=true
18+
org.gradle.parallel=true
19+
org.gradle.jvmargs=-Xmx1024m
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Dec 09 17:29:40 CST 2014
1+
#Tue Dec 15 13:58:26 CST 2015
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip

scrollanimationlibrary/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ android {
55
// buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
66

77

8-
compileSdkVersion 21
8+
compileSdkVersion 23
99
// useLibrary 'org.apache.http.legacy' // 因为 sdk23 去掉了 apache
10-
buildToolsVersion "21.0.1"
10+
buildToolsVersion '23.0.2'
1111

1212
defaultConfig {
1313
minSdkVersion 15
@@ -22,7 +22,7 @@ android {
2222
}
2323

2424
dependencies {
25-
compile 'com.android.support:support-v4:21.0.0'
25+
compile 'com.android.support:support-v4:23.1.1'
2626
}
2727

2828
//apply from: '../gradle-bintray-push.gradle'

social_sdk_library_project/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies {
1313
}
1414

1515
android {
16-
compileSdkVersion 22
17-
buildToolsVersion "22.0.1"
16+
compileSdkVersion 23
17+
buildToolsVersion '23.0.2'
1818

1919
sourceSets {
2020
main {

0 commit comments

Comments
 (0)