opt
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user