Skip to content

Commit be1707a

Browse files
committed
1:重构组件化项目的目录结构及从新配置了Gradle,稍后会更新组件化博客。
1 parent aa1fbf9 commit be1707a

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

module_app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ android {
3939
// 缩减resource文件
4040
shrinkResources true
4141
//Proguard
42-
minifyEnabled true
42+
minifyEnabled false
4343
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4444
//签名
4545
signingConfig signingConfigs.release

module_app/src/main/java/com/guiying/androidmodulepattern/MyApplication.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.guiying.androidmodulepattern;
22

33
import android.content.Context;
4-
import android.support.multidex.MultiDex;
54

65
import com.github.mzule.activityrouter.annotation.Modules;
76
import com.guiying.common.base.BaseApplication;
@@ -26,6 +25,6 @@ public void onCreate() {
2625
protected void attachBaseContext(Context base) {
2726
super.attachBaseContext(base);
2827
// dex突破65535的限制
29-
MultiDex.install(this);
28+
//MultiDex.install(this);
3029
}
3130
}

module_girls/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
// 缩减resource文件
2727
shrinkResources true
2828
//Proguard
29-
minifyEnabled true
29+
minifyEnabled false
3030
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3131
}
3232

module_main/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
// 缩减resource文件
2727
shrinkResources true
2828
//Proguard
29-
minifyEnabled true
29+
minifyEnabled false
3030
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3131
}
3232

module_news/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626
// 缩减resource文件
2727
shrinkResources true
2828
//Proguard
29-
minifyEnabled true
29+
minifyEnabled false
3030
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3131
}
3232

0 commit comments

Comments
 (0)