Browse Source

1:删除app壳工程的声明文件;

guiying712 8 years ago
parent
commit
aab51b1b96

+ 1 - 0
build.gradle

@@ -31,6 +31,7 @@ task clean(type: Delete) {
 }
 
 // Define versions in a single place
+//时间:2017.2.13;每次修改版本号都要添加修改时间
 ext {
     // Sdk and tools
     //localBuildToolsVersion是gradle.properties中的数据

+ 0 - 15
module_app/src/main/java/com/guiying/androidmodulepattern/App.java

@@ -1,15 +0,0 @@
-package com.guiying.androidmodulepattern;
-
-import com.github.mzule.activityrouter.annotation.Module;
-
-/**
- * <p>这就是个壳工程,没有任何界面,只负责管理组件</p>
- *
- * @author 张华洋 2017/2/15 20:42
- * @version V1.2.0
- * @name AppModule
- */
-
-@Module("app")
-public class App {
-}

+ 1 - 1
module_app/src/main/java/com/guiying/androidmodulepattern/MyApplication.java

@@ -36,7 +36,7 @@ import org.acra.sender.ReportSenderException;
         resToastText = R.string.crash_toast_text,
         resDialogText = R.string.crash_dialog_text,
         resDialogTitle = R.string.crash_dialog_title)
-@Modules({"app", "main", "girls", "news"})
+@Modules({"main", "girls", "news"})
 public class MyApplication extends BaseApplication {