@@ -120,20 +120,6 @@ public interface IMogoServiceApis extends IProvider {
|
||||
*/
|
||||
IMogoRegisterCenter getRegisterCenterApi();
|
||||
|
||||
/**
|
||||
* 搜搜页面操作设置
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoSearchManager getSearchManagerApi();
|
||||
|
||||
/**
|
||||
* 导航设置页面
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoSettingManager getSettingManagerApi();
|
||||
|
||||
/**
|
||||
* 网络接口api
|
||||
*
|
||||
@@ -182,7 +168,6 @@ public interface IMogoServiceApis extends IProvider {
|
||||
IMogoRefreshStrategyController getRefreshStrategyControllerApi();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 桌面控制接口
|
||||
*
|
||||
@@ -304,9 +289,9 @@ public interface IMogoServiceApis extends IProvider {
|
||||
IMogoMapFrameController getMapFrameControllerApi();
|
||||
|
||||
|
||||
/*
|
||||
*V2X
|
||||
* */
|
||||
/**
|
||||
* V2X
|
||||
*/
|
||||
IV2XProvider getV2XListenerManager();
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'com.alibaba.arouter'
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-android-extensions'
|
||||
id 'kotlin-kapt'
|
||||
id 'com.alibaba.arouter'
|
||||
}
|
||||
|
||||
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
||||
@@ -13,10 +19,11 @@ android {
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
|
||||
|
||||
javaCompileOptions {
|
||||
annotationProcessorOptions {
|
||||
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
||||
//ARouter apt 参数
|
||||
kapt {
|
||||
useBuildCache = false
|
||||
arguments {
|
||||
arg("AROUTER_MODULE_NAME", project.getName())
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,7 +46,8 @@ dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
|
||||
implementation rootProject.ext.dependencies.arouter
|
||||
annotationProcessor rootProject.ext.dependencies.aroutercompiler
|
||||
kapt rootProject.ext.dependencies.aroutercompiler
|
||||
|
||||
implementation rootProject.ext.dependencies.adasapi
|
||||
implementation rootProject.ext.dependencies.adasconfigapi
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
|
||||
@@ -136,15 +136,6 @@ public class MogoServiceApis implements IMogoServiceApis {
|
||||
return getApiInstance(IMogoRegisterCenter.class, MogoServicePaths.PATH_REGISTER_CENTER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMogoSearchManager getSearchManagerApi() {
|
||||
return getApiInstance(IMogoSearchManager.class, MogoServicePaths.PATH_SEARCH_MANAGER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMogoSettingManager getSettingManagerApi() {
|
||||
return getApiInstance(IMogoSettingManager.class, MogoServicePaths.PATH_SETTING_MANAGER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMogoWindowManager getWindowManagerApi() {
|
||||
|
||||
Reference in New Issue
Block a user