调用方式为 //显示警告红边 mIMoGoWaringProvider!!.showWarning(direction) Signed-off-by: chenfufeng <chenfufeng@zhidaoauto.com>
243 lines
16 KiB
Groovy
243 lines
16 KiB
Groovy
ext {
|
|
time = ""
|
|
kotlin_version = "1.4.31"
|
|
android = [
|
|
launcherApplicationId : "com.mogo.launcher",
|
|
independentApplicationId : "com.mogo.launcher.app",
|
|
fLauncherApplicationId : "com.mogo.launcher.f",
|
|
bydautoIndependentApplicationId: "com.mogo.launcher.app.bydauto",
|
|
fLauncherAmapApiValue : "aa2c8a0547378ead2f9a37762d9dd179",
|
|
bydautoIndependentApiValue : "b1e1d527b02a493913c50985827c943a",
|
|
commonLauncherAmapApiValue : "a36b9f7b086fa3951bb35338a5a06dd3",
|
|
commonIndependentAmapApiValue : "1c3fbc5f5e183619ffb1e7bc01e6751f",
|
|
compileSdkVersion : 28,
|
|
buildToolsVersion : "29.0.2",
|
|
minSdkVersion : 19,
|
|
targetSdkVersion : 19,
|
|
minSdkVersionPadLenovo : 23,
|
|
targetSdkVersionPadLenovo : 23,
|
|
]
|
|
dependencies = [
|
|
// androidx
|
|
androidxappcompat : "androidx.appcompat:appcompat:1.3.1",
|
|
androidxccorektx : "androidx.core:core-ktx:1.5.0",
|
|
androidxconstraintlayout : "androidx.constraintlayout:constraintlayout:2.1.0",
|
|
boostmultidex : "com.bytedance.boost_multidex:boost_multidex:1.0.1",
|
|
androidxviewpager2 : "androidx.viewpager2:viewpager2:1.0.0",
|
|
androidxrecyclerview : "androidx.recyclerview:recyclerview:1.1.0",
|
|
androidxcardview : "androidx.cardview:cardview:1.0.0",
|
|
localbroadcastmanager : "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0",
|
|
// flexbox
|
|
flexbox : 'com.google.android:flexbox:2.0.1',
|
|
// 测试
|
|
junit : "junit:junit:4.12",
|
|
androidxjunit : "androidx.test.ext:junit:1.1.2",
|
|
androidxespressocore : "androidx.test.espresso:espresso-core:3.3.0",
|
|
// 地图
|
|
amapnavi3dmap : "com.amap.api:navi-3dmap:7.2.0_3dmap7.2.0",
|
|
amapsearch : "com.amap.api:search:7.1.0",
|
|
amaplocation : "com.amap.api:location:5.3.1",
|
|
// json 转换
|
|
gson : "com.google.code.gson:gson:2.8.4",
|
|
// 内存泄漏检测
|
|
debugleakcanary : "com.squareup.leakcanary:leakcanary-android:1.6.1",
|
|
releaseleakcanary : "com.squareup.leakcanary:leakcanary-android-no-op:1.6.1",
|
|
testleakcanary : "com.squareup.leakcanary:leakcanary-android-no-op:1.6.1",
|
|
//rxJava
|
|
rxjava : "io.reactivex.rxjava2:rxjava:2.2.2",
|
|
rxandroid : "io.reactivex.rxjava2:rxandroid:2.1.1",
|
|
// arouter
|
|
arouter : "com.alibaba:arouter-api:1.5.2",
|
|
aroutercompiler : "com.alibaba:arouter-compiler:1.5.2",
|
|
// glide
|
|
glide : 'com.github.bumptech.glide:glide:4.8.0',
|
|
glideokhttp3 : 'com.github.bumptech.glide:okhttp3-integration:4.8.0',
|
|
glideanno : 'com.github.bumptech.glide:annotations:4.8.0',
|
|
glidecompiler : 'com.github.bumptech.glide:compiler:4.8.0',
|
|
androidxannotation : "androidx.annotation:annotation:1.2.0",
|
|
okhttpinterceptor : "com.squareup.okhttp3:logging-interceptor:3.12.0",
|
|
// fresco
|
|
fresco : 'com.facebook.fresco:fresco:1.9.0',
|
|
// 公司服务 - 语音
|
|
aiassist : "com.zhidaoauto.common:service:1.0.8.4",
|
|
// 语音替换方案 暂时只用TTS 解决焦点问题
|
|
aiassistReplace : "com.zhidao.mogoVoicesdk:voice:1.0.5",
|
|
// 公司服务 - 埋点
|
|
analytics : "com.elegant.analytics:analytics:1.1.28",
|
|
|
|
retrofit : "com.squareup.retrofit2:retrofit:2.6.0",
|
|
retrofitadapter : "com.squareup.retrofit2:adapter-rxjava2:2.6.0",
|
|
retrofitconvertergson : "com.squareup.retrofit2:converter-gson:2.6.0",
|
|
retrofitconverterscalars : "com.squareup.retrofit2:converter-scalars:2.1.0",
|
|
|
|
|
|
// leakcanary
|
|
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.5.4',
|
|
leakcanarynoop : 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4',
|
|
|
|
|
|
// material
|
|
material : 'com.google.android.material:material:1.4.0',
|
|
|
|
indicator : 'com.github.zhpanvip:viewpagerindicator:1.0.4',
|
|
|
|
// modules
|
|
moduletanlu : "com.mogo.module:module-tanlu:${MOGO_MODULE_TANLU_VERSION}",
|
|
moduleshare : "com.mogo.module:module-share:${MOGO_MODULE_SHARE_VERSION}",
|
|
mogocommons : "com.mogo.commons:mogo-commons:${MOGO_COMMONS_VERSION}",
|
|
mogoutils : "com.mogo.commons:mogo-utils:${MOGO_UTILS_VERSION}",
|
|
mapamap : "com.mogo.map:map-amap:${MAP_AMAP_VERSION}",
|
|
mapautomap : "com.mogo.map:map-autonavi:${MAP_AUTONAVI_VERSION}",
|
|
mapcustom : "com.mogo.map:map-custom:${MAP_CUSTOM_VERSION}",
|
|
mogomap : "com.mogo.map:mogo-map:${MOGO_MAP_VERSION}",
|
|
mogomapapi : "com.mogo.map:mogo-map-api:${MOGO_MAP_API_VERSION}",
|
|
mogocustommap : "com.zhidaoauto.machine:map:${MAP_SDK_VERSION}",
|
|
|
|
modulecommon : "com.mogo.module:module-common:${MOGO_MODULE_COMMON_VERSION}",
|
|
modulemain : "com.mogo.module:module-main:${MOGO_MODULE_MAIN_VERSION}",
|
|
modulemainlauncher : "com.mogo.module:module-main-launcher:${MOGO_MODULE_MAIN_LAUNCHER_VERSION}",
|
|
modulemainindependent : "com.mogo.module:module-main-independent:${MOGO_MODULE_MAIN_INDEPENDENT_VERSION}",
|
|
modulemap : "com.mogo.module:module-map:${MOGO_MODULE_MAP_VERSION}",
|
|
moduleservice : "com.mogo.module:module-service:${MOGO_MODULE_SERVICE_VERSION}",
|
|
moduledata : "com.mogo.module:module-data:${MOGO_MODULE_DATA_VERSION}",
|
|
mogoservice : "com.mogo.service:mogo-service:${MOGO_SERVICE_VERSION}",
|
|
mogoserviceapi : "com.mogo.service:mogo-service-api:${MOGO_SERVICE_API_VERSION}",
|
|
moduleapps : "com.mogo.module:module-apps:${MOGO_MODULE_APPS_VERSION}",
|
|
mogoconnection : "com.mogo.connection:mogo-connection:${MOGO_CONNECTION_VERSION}",
|
|
moduleextensions : "com.mogo.module:module-extensions:${MOGO_MODULE_EXTENSIONS_VERSION}",
|
|
callchat : "com.mogo.module.carchatout:module-carchatting:${CARCHATTING_VERSION}",
|
|
callchatprovider : "com.mogo.module.carchatout:module-carchatting-provider:${CARCHATTINGPROVIDER_VERSION}",
|
|
|
|
guideshow : "com.mogo.module:module-guide:${MOGO_MODULE_GUIDESHOW_VERSION}",
|
|
// V2X
|
|
moduleV2x : "com.mogo.module:module-v2x:${MOGO_MODULE_V2X_VERSION}",
|
|
moduleSmallMap : "com.mogo.module:module-small-map:${MOGO_MODULE_SMP_VERSION}",
|
|
moduleADAS : "com.mogo.module:mogo-module-adas:${MOGO_MODULE_ADAS_VERSION}",
|
|
moduleHmi : "com.mogo.module:module-hmi:${MOGO_MODULE_HMI_VERSION}",
|
|
modulemedia : "com.mogo.module:module-media:${MOGO_MODULE_MEDIA_VERSION}",
|
|
modulesearch : "com.mogo.module:module-search:${MOGO_MODULE_SEARCH_VERSION}",
|
|
// push
|
|
modulepush : "com.mogo.module:module-push:${MOGO_MODULE_PUSH_VERSION}",
|
|
modulepushbase : "com.mogo.module:module-push-base:${MOGO_MODULE_PUSH_BASE_VERSION}",
|
|
modulepushnoop : "com.mogo.module:module-push-noop:${MOGO_MODULE_PUSH_NOOP_VERSION}",
|
|
//统一返回键
|
|
mogomoduleback : "com.mogo.module:module-back:${MOGO_MODULE_BACK_VERSION}",
|
|
mogomoduleauth : "com.mogo.module:module-authorize:${MOGO_MODULE_AUTHORIZE_VERSION}",
|
|
mogomoduleguide : "com.mogo.module:module-guide:${MOGO_MODULE_GUIDE_VERSION}",
|
|
// OBU
|
|
moduleobu : "com.mogo.module:module-obu:${MOGO_MODULE_OBU_VERSION}",
|
|
moduleobumogo : "com.mogo.module:module-obu:${MOGO_MODULE_OBU_MOGO_VERSION}",
|
|
crashwarning : "com.mogo.module:module-crash-warning:1.1.0",
|
|
|
|
//
|
|
jetbrainsannotationsjava5 : "org.jetbrains:annotations-java5:15.0",
|
|
|
|
// crash
|
|
crashSdk : "com.zhidaoauto.crash.log:library:1.0.5",
|
|
kotlinstdlibjdk7 : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlin_version}",
|
|
|
|
//探路
|
|
videoarmv7 : "com.shuyu:gsyVideoPlayer-armv7a:7.1.2",
|
|
videoarm64 : "com.shuyu:gsyVideoPlayer-arm64:7.1.2",
|
|
videojava : "com.shuyu:gsyVideoPlayer-java:7.1.2",
|
|
eventbus : "org.greenrobot:eventbus:3.1.1",
|
|
videoprocessor : "com.zhidao.video:video-processor:1.0.2.1",
|
|
livesdk : "com.tencent.liteavsdk:LiteAVSDK_Smart:7.4.9211",
|
|
|
|
coroutinescore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3",
|
|
coroutinesandroid : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3",
|
|
|
|
aspectj : "org.aspectj:aspectjrt:1.8.9",
|
|
|
|
// gps 模拟
|
|
gpssimulator : "com.mogo.module:module-gps-simulator:${MOGO_MODULE_GPS_SIMULATOR_VERSION}",
|
|
gpssimulatordebug : "com.mogo.module:module-gps-simulator-debug:${MOGO_MODULE_GPS_SIMULATOR_DEBUG_VERSION}",
|
|
gpssimulatornoop : "com.mogo.module:module-gps-simulator-noop:${MOGO_MODULE_GPS_SIMULATOR_NOOP_VERSION}",
|
|
|
|
adasapi : "com.zhidao.autopilot.support:adas:1.0.6.15",
|
|
adasconfigapi : "com.zhidao.adasconfig:adasconfig:1.1.5.2",
|
|
|
|
// 个人中心的SDK
|
|
personalsdk : "com.zhidaoauto.person.info:data:1.0.1",
|
|
tanluupload : "com.mogo.module:module-tanlu-upload:${TANLULIB_VERSION}",
|
|
|
|
// obu sdk
|
|
obusdk : "com.zhidao.enterprise.smartv2x:smartv2x:1.0.0.3",
|
|
// mebulaobu : 'com.zhidao.support.nebulaobu:nebulaobu:1.0.0.3',
|
|
mogoobu : 'com.zhidao.support.obu:mogoobu:1.0.0.11',
|
|
mogoami : 'com.zhidao.support.obu.ami:mogoami:1.0.0.1',
|
|
|
|
// 左侧面板
|
|
moduleleftpanel : "com.mogo.module:module-left-panel:${MOGO_MODULE_LEFT_PANEL_VERSION}",
|
|
// 左侧面板空实现
|
|
moduleleftpanelnoop : "com.mogo.module:module-left-panel-noop:${MOGO_MODULE_LEFT_PANEL_VERSION}",
|
|
// 闪屏页
|
|
modulesplash : "com.mogo.module:module-splash:${MOGO_MODULE_SPLASH_VERSION}",
|
|
// 基础服务实现
|
|
mogobaseservicesdk : "com.mogo.base:services-sdk:${MOGO_BASE_SERVICES_SDK_VERSION}",
|
|
mogobaseserviceapk : "com.mogo.base:services-apk:${MOGO_BASE_SERVICES_APK_VERSION}",
|
|
mogobasewebsocketsdk : "com.mogo.base:websocket-sdk:${MOGO_BASE_WEBSOCKET_SDK_VERSION}",
|
|
mogowebsocket : "com.mogo.module.carchatting:module-carchatt-socket:${WEBSOCKET_VERSION}",
|
|
// loglib
|
|
mogologlib : "com.mogo.module:module-loglib:${LOGLIB_VERSION}",
|
|
// monitor
|
|
mogomonitor : "com.mogo.module:module-monitor:${MOGO_MODULE_MONITOR_VERSION}",
|
|
|
|
// google
|
|
googlezxing : "com.google.zxing:core:3.3.3",
|
|
litezxing : "com.google.zxing:litezxing:1.0.29.8",
|
|
|
|
// android - room
|
|
androidxroomruntime : "androidx.room:room-runtime:2.2.3",
|
|
androidxroomcompiler : "androidx.room:room-compiler:2.2.3",
|
|
androidxroomktx : "androidx.room:room-ktx:2.2.3",
|
|
// rxjava2 with room
|
|
roomRxjava : 'androidx.room:room-rxjava2:2.2.3',
|
|
|
|
//
|
|
mogomodulewidgets : "com.mogo.module:module-widgets:${MOGO_MODULE_WIDGETS_VERSION}",
|
|
|
|
kotlingradleplugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}",
|
|
|
|
skinsupport : "com.mogo.skin:skin-support:${MOGO_SKIN_SUPPORT_VERSION}",
|
|
skinsupportimpl : "com.mogo.skin:skin-support-impl:${MOGO_SKIN_SUPPORT_IMPL_VERSION}",
|
|
skinsupportnoop : "com.mogo.skin:skin-support-noop:${MOGO_SKIN_SUPPORT_NOOP_VERSION}",
|
|
skinsupportlight : "com.mogo.skin:skin-light:${MOGO_SKIN_LIGHT_VERSION}",
|
|
|
|
crashreport : "com.mogo.test:crashreport:${CRASHREPORT_VERSION}",
|
|
crashreportbugly : "com.mogo.test:crashreport-bugly:${CRASHREPORT_BUGLY_VERSION}",
|
|
crashreportnoop : "com.mogo.test:crashreport-noop:${CRASHREPORT_NOOP_VERSION}",
|
|
crashreportupgrade : "com.mogo.test:crashreport-upgrade:${CRASHREPORT_UPGRADE_VERSION}",
|
|
|
|
|
|
skinsupportbase : "com.mogo.skin:skin-support-base:${SKIN_SUPPORT_VERSION}",
|
|
skinsupportappcompat : "com.mogo.skin:skin-support-appcompat:${SKIN_SUPPORT_APPCOMPAT_VERSION}",
|
|
skinsupportcardview : "com.mogo.skin:skin-support-cardview:${SKIN_SUPPORT_CARDVIEW_VERSION}",
|
|
skinsupportconstraintlayout: "com.mogo.skin:skin-support-constraint-layout:${SKIN_SUPPORT_CONSTRAINT_LAYOUT_VERSION}",
|
|
skinsupportdesign : "com.mogo.skin:skin-support-design:${SKIN_SUPPORT_DESIGN_VERSION}",
|
|
|
|
ttsbase : "com.mogo.tts:tts-base:${TTS_BASE_VERSION}",
|
|
ttsdi : "com.mogo.tts:tts-di:${TTS_DI_VERSION}",
|
|
ttszhi : "com.mogo.tts:tts-zhi:${TTS_ZHI_VERSION}",
|
|
ttspad : "com.mogo.tts:tts-pad:${TTS_ZHI_VERSION}",
|
|
ttsnoop : "com.mogo.tts:tts-noop:${TTS_NOOP_VERSION}",
|
|
|
|
mogooch : "com.mogo.och:och:${MOGO_OCH_VERSION}",
|
|
mogoochbus : "com.mogo.och:och-bus:${MOGO_OCH_BUS_VERSION}",
|
|
mogoochtaxi : "com.mogo.och:och-taxi:${MOGO_OCH_TAXI_VERSION}",
|
|
mogoochnoop : "com.mogo.och:och-noop:${MOGO_OCH_NOOP_VERSION}",
|
|
|
|
mogoaicloudservicesdk : "com.mogo.aicloud.services:services-sdk:${MOGO_AICLOUD_SERVICES_SDK_VERSION}",
|
|
|
|
mogoaicloudsocket : "com.mogo.cloud:socket:${MOGO_SOCKET_VERSION}",
|
|
mogoaicloudpassport : "com.mogo.cloud:passport:${MOGO_PASSPORT_VERSION}",
|
|
mogoaicloudnetwork : "com.mogo.cloud:network:${MOGO_NETWORK_VERSION}",
|
|
mogoaicloudlive : "com.mogo.cloud:live:${MOGO_LIVE_VERSION}",
|
|
mogoaicloudrealtime : "com.mogo.cloud:realtime:${MOGO_REALTIME_VERSION}",
|
|
mogoaicloudtanlu : "com.mogo.cloud:tanlu:${MOGO_TANLU_VERSION}",
|
|
mogoaicloudtrafficlive : "com.mogo.cloud:trafficlive:${MOGO_TRAFFICLIVE_VERSION}",
|
|
mogoaicloudlocation : "com.mogo.cloud:location:${MOGO_LOCATION_VERSION}",
|
|
|
|
]
|
|
|
|
} |