整理Gradle依赖关系
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -29,7 +29,6 @@
|
||||
<option value="$PROJECT_DIR$/libraries/mogo-map-api" />
|
||||
<option value="$PROJECT_DIR$/libraries/tanlulib" />
|
||||
<option value="$PROJECT_DIR$/main-extensions" />
|
||||
<option value="$PROJECT_DIR$/main-extensions/mogo-module-main-independent" />
|
||||
<option value="$PROJECT_DIR$/main-extensions/mogo-module-main-launcher" />
|
||||
<option value="$PROJECT_DIR$/modules" />
|
||||
<option value="$PROJECT_DIR$/modules/mogo-module-adas" />
|
||||
|
||||
@@ -105,8 +105,6 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
// 配置.so支持的CPU架构
|
||||
apply from: "./functions/abiFilters.gradle"
|
||||
// 配置不同渠道参数,直接影响功能完整度
|
||||
apply from: "./productFlavors/f8Amap.gradle"
|
||||
apply from: "./productFlavors/f8xx.gradle"
|
||||
@@ -172,6 +170,15 @@ dependencies {
|
||||
implementation rootProject.ext.dependencies.moduleSmallMap
|
||||
implementation rootProject.ext.dependencies.moduleobu
|
||||
implementation rootProject.ext.dependencies.moduleADAS
|
||||
implementation rootProject.ext.dependencies.mogomoduleback
|
||||
implementation rootProject.ext.dependencies.mogomodulewidgets
|
||||
implementation rootProject.ext.dependencies.modulemainlauncher
|
||||
implementation rootProject.ext.dependencies.moduleapps
|
||||
implementation rootProject.ext.dependencies.modulepushbase
|
||||
implementation rootProject.ext.dependencies.modulepush
|
||||
implementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
implementation rootProject.ext.dependencies.crashreportupgrade
|
||||
implementation rootProject.ext.dependencies.crashreportbugly
|
||||
} else {
|
||||
implementation project(':foudations:mogo-aicloud-services-sdk')
|
||||
implementation project(':foudations:mogo-commons')
|
||||
@@ -189,17 +196,20 @@ dependencies {
|
||||
implementation project(':modules:mogo-module-obu-mogo')
|
||||
implementation project(':modules:mogo-module-hmi')
|
||||
implementation project(':modules:mogo-module-adas')
|
||||
implementation project(':modules:mogo-module-back')
|
||||
implementation project(':modules:mogo-module-widgets')
|
||||
implementation project(':main-extensions:mogo-module-main-launcher')
|
||||
implementation project(':modules:mogo-module-apps')
|
||||
implementation project(":modules:mogo-module-push-base")
|
||||
implementation project(":modules:mogo-module-push")
|
||||
implementation project(':modules:mogo-module-left-panel-noop')
|
||||
implementation project(':test:crashreport-upgrade')
|
||||
implementation project(':test:crashreport-bugly')
|
||||
}
|
||||
|
||||
apply from: "./functions/basedmap.gradle"
|
||||
apply from: "./functions/perform.gradle"
|
||||
apply from: "./functions/socketpush.gradle"
|
||||
apply from: "./functions/leftpanel.gradle"
|
||||
apply from: "./functions/skin.gradle"
|
||||
apply from: "./functions/crashreport.gradle"
|
||||
apply from: "./functions/widgets.gradle"
|
||||
apply from: "./functions/tts.gradle"
|
||||
apply from: "./functions/backwidget.gradle"
|
||||
apply from: "./functions/och.gradle"
|
||||
|
||||
// implementation group: "com.tencent.matrix", name: "matrix-android-lib", version: '0.6.6', changing: true
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
// 将 install 和 assemble 任务按功能分组
|
||||
|
||||
project.android.productFlavors {
|
||||
// f系列-网约车-出租车
|
||||
fochtaxi {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// f系列-网约车小巴车
|
||||
fochbus {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// f系列-分体机全系列,未细分
|
||||
f8xx {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// 联想Pad
|
||||
fPadLenovo {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// 联想Pad
|
||||
fPadLenovoOchTaxi {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// 联想Pad
|
||||
fPadLenovoOchBus {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// f系列-分体机
|
||||
f80x {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
}
|
||||
// f系列-分体机-高德
|
||||
f8Amap {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "armeabi-v7a"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// 返回桌面悬浮按钮
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
launcherImplementation rootProject.ext.dependencies.mogomoduleback
|
||||
} else {
|
||||
launcherImplementation project(':modules:mogo-module-back')
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// 引导模块:部分机型暂不需要引导模块
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
f8xxImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
f80xImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
f8AmapImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
|
||||
fochtaxiImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
fochbusImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
|
||||
fPadLenovoImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
fPadLenovoOchTaxiImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
fPadLenovoOchBusImplementation rootProject.ext.dependencies.mogomoduleguide
|
||||
} else {
|
||||
f8xxImplementation project(':modules:mogo-module-guide')
|
||||
f80xImplementation project(':modules:mogo-module-guide')
|
||||
f8AmapImplementation project(':modules:mogo-module-guide')
|
||||
fochtaxiImplementation project(':modules:mogo-module-guide')
|
||||
fochbusImplementation project(':modules:mogo-module-guide')
|
||||
|
||||
fPadLenovoImplementation project(':modules:mogo-module-guide')
|
||||
fPadLenovoOchTaxiImplementation project(':modules:mogo-module-guide')
|
||||
fPadLenovoOchBusImplementation project(':modules:mogo-module-guide')
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// bugly 上报,目前仅在debug编译下加载bugly
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.crashreport
|
||||
implementation rootProject.ext.dependencies.crashreportupgrade
|
||||
debugImplementation rootProject.ext.dependencies.crashreportbugly
|
||||
releaseImplementation rootProject.ext.dependencies.crashreportbugly
|
||||
} else {
|
||||
implementation project(':test:crashreport')
|
||||
implementation project(':test:crashreport-upgrade')
|
||||
implementation project(':test:crashreport-bugly')
|
||||
releaseImplementation project(':test:crashreport-bugly')
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
// 辅助驾驶占位模块,目前部分车机不上辅助驾驶功能,使用该模块能力代替
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
f8xxImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
f80xImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
f8AmapImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
|
||||
fochtaxiImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
fochbusImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
|
||||
fPadLenovoImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
fPadLenovoOchTaxiImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
fPadLenovoOchBusImplementation rootProject.ext.dependencies.moduleleftpanelnoop
|
||||
|
||||
} else {
|
||||
f8xxImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
f80xImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
f8AmapImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
|
||||
fochtaxiImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
fochbusImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
|
||||
fPadLenovoImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
fPadLenovoOchTaxiImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
fPadLenovoOchBusImplementation project(':modules:mogo-module-left-panel-noop')
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
// 表现:独立 app 和 launcher
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
launcherImplementation rootProject.ext.dependencies.modulemainlauncher
|
||||
|
||||
// 仅launcher需要引入该模块
|
||||
launcherImplementation rootProject.ext.dependencies.moduleapps
|
||||
} else {
|
||||
launcherImplementation project(':main-extensions:mogo-module-main-launcher')
|
||||
|
||||
// 仅launcher需要引入该模块
|
||||
launcherImplementation project(':modules:mogo-module-apps')
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
// 基于socket长链的push推送
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.modulepushbase
|
||||
launcherImplementation rootProject.ext.dependencies.modulepush
|
||||
} else {
|
||||
implementation project(":modules:mogo-module-push-base")
|
||||
launcherImplementation project(":modules:mogo-module-push")
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// 悬浮控件:独立 app 和 launcher
|
||||
|
||||
project.dependencies {
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.mogomodulewidgets
|
||||
} else {
|
||||
implementation project(':modules:mogo-module-widgets')
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// f系列-分体机
|
||||
f80x {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// f系列-分体机-高德
|
||||
f8Amap {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "armeabi-v7a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// f系列-分体机全系列,未细分
|
||||
f8xx {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// 衡阳-联想Pad
|
||||
fPadLenovo {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersionPadLenovo
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersionPadLenovo
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// 衡阳-联想Pad-网约车-小巴车
|
||||
fPadLenovoOchBus {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersionPadLenovo
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersionPadLenovo
|
||||
// 应用包名
|
||||
|
||||
@@ -2,6 +2,12 @@ project.android.productFlavors {
|
||||
|
||||
// 衡阳-联想Pad-网约车-出租车
|
||||
fPadLenovoOchTaxi {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersionPadLenovo
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersionPadLenovo
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// f系列-网约车-小巴车
|
||||
fochbus {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
// 应用包名
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
project.android.productFlavors {
|
||||
// f系列-网约车-出租车
|
||||
fochtaxi {
|
||||
externalNativeBuild {
|
||||
ndk {
|
||||
// 设置支持的SO库架构
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
}
|
||||
minSdkVersion rootProject.ext.android.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
||||
// 应用包名
|
||||
|
||||
@@ -46,7 +46,6 @@ include ':modules:mogo-module-apps'
|
||||
include ':modules:mogo-module-extensions'
|
||||
include ':libraries:map-autonavi'
|
||||
include ':modules:mogo-module-v2x'
|
||||
include ':main-extensions:mogo-module-main-independent'
|
||||
include ':main-extensions:mogo-module-main-launcher'
|
||||
|
||||
include ':modules:mogo-module-push'
|
||||
|
||||
@@ -40,11 +40,11 @@ dependencies {
|
||||
annotationProcessor rootProject.ext.dependencies.aroutercompiler
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.crashreport
|
||||
api rootProject.ext.dependencies.crashreport
|
||||
implementation rootProject.ext.dependencies.mogoutils
|
||||
implementation rootProject.ext.dependencies.mogocommons
|
||||
} else {
|
||||
implementation project(":test:crashreport")
|
||||
api project(":test:crashreport")
|
||||
implementation project(":foudations:mogo-utils")
|
||||
implementation project(":foudations:mogo-commons")
|
||||
}
|
||||
|
||||
@@ -39,11 +39,11 @@ dependencies {
|
||||
annotationProcessor rootProject.ext.dependencies.aroutercompiler
|
||||
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
implementation rootProject.ext.dependencies.crashreport
|
||||
api rootProject.ext.dependencies.crashreport
|
||||
implementation rootProject.ext.dependencies.mogoutils
|
||||
implementation rootProject.ext.dependencies.mogocommons
|
||||
} else {
|
||||
implementation project(":test:crashreport")
|
||||
api project(":test:crashreport")
|
||||
implementation project(":foudations:mogo-utils")
|
||||
implementation project(":foudations:mogo-commons")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user