This commit is contained in:
wangcongtao
2019-12-31 10:37:41 +08:00
parent e5d17bb305
commit 05bd793763
28 changed files with 592 additions and 175 deletions

View File

@@ -60,9 +60,11 @@ dependencies {
api rootProject.ext.dependencies.mogocommons
implementation rootProject.ext.dependencies.moduledemo
implementation rootProject.ext.dependencies.moduledemo2
implementation rootProject.ext.dependencies.modulecommon
} else {
implementation project(':modules:mogo-module-main')
implementation project(':foudations:mogo-commons')
implementation project(':modules:mogo-module-common')
implementation project(':demo:demo-module-map')
implementation project(':demo:demo-module-map2')
}

View File

@@ -1,11 +1,13 @@
package com.mogo.launcher;
import android.app.Application;
import android.content.Context;
import androidx.multidex.MultiDex;
import com.mogo.commons.AbsMogoApplication;
import com.mogo.demo.module.map.DemoConstants;
import com.mogo.demo.module.map2.Demo2Constants;
import com.mogo.module.common.MogoModulePaths;
/**
* @author congtaowang
@@ -24,5 +26,7 @@ public class MogoApplication extends AbsMogoApplication {
protected void attachBaseContext( Context base ) {
super.attachBaseContext( base );
MultiDex.install( base );
MogoModulePaths.addModule( DemoConstants.TAG );
MogoModulePaths.addModule( Demo2Constants.TAG );
}
}