[文件收集]
This commit is contained in:
yangyakun
2023-03-21 14:50:26 +08:00
parent 4b0fa8595b
commit 856120c3b2
21 changed files with 17 additions and 184 deletions

View File

@@ -0,0 +1 @@
# 不同渠道依赖的实现不一样需要各个渠道都去依赖各自需要的实现渠道太多导致build.gradle 文件臃肿可以通过分gradle文件方式减少臃肿

View File

@@ -0,0 +1,72 @@
// 网约车服务:仅小巴车、出租车渠道用
project.dependencies {
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
fPadLenovoImplementation(rootProject.ext.dependencies.mogoochnoop)
// sweeper清扫车
fOchSweeperImplementation(rootProject.ext.dependencies.mogoochsweeper)
// Bus司机端
fOchBusImplementation(rootProject.ext.dependencies.mogoochbus)
// Bus乘客端
fOchBusPassengerImplementation(rootProject.ext.dependencies.mogoochbus)
fOchBusPassengerM1Implementation(rootProject.ext.dependencies.mogoochbus)
fOchBusPassengerM2Implementation(rootProject.ext.dependencies.mogoochbus)
// taxi司机端
fOchTaxiImplementation(rootProject.ext.dependencies.mogoochtaxi)
// taxi乘客端
fOchTaxiPassengerImplementation(rootProject.ext.dependencies.mogoochtaxi)
// Bus司机端
fMultiDisplayOchBusImplementation(rootProject.ext.dependencies.mogoochbus)
// Bus乘客端
fMultiDisplayOchBusImplementation(rootProject.ext.dependencies.mogoochbus)
//接驳车司乘端
fOchShuttleImplementation(rootProject.ext.dependencies.mogoochbus)
fOchShuttlePassengerImplementation(rootProject.ext.dependencies.mogoochbus)
// taxi司机端
fMultiDisplayOchTaxiImplementation(rootProject.ext.dependencies.mogoochtaxi)
// taxi乘客端
fMultiDisplayOchTaxiImplementation(rootProject.ext.dependencies.mogoochtaxi)
} else {
fPadLenovoImplementation (project(':OCH:mogo-och-noop'))
// sweeper 清扫车
fOchSweeperImplementation (project(':OCH:mogo-och-sweeper'))
// Bus司机端
fOchBusImplementation (project(':OCH:mogo-och-bus'))
// Bus乘客端
fOchBusPassengerImplementation (project(':OCH:mogo-och-bus-passenger'))
fOchBusPassengerM2Implementation (project(':OCH:mogo-och-bus-passenger'))
// 包车
ochDriverM1Implementation (project(':OCH:mogo-och-charter'))
ochPassengerM1Implementation (project(':OCH:mogo-och-charter-passenger'))
// taxi司机端
fOchTaxiImplementation (project(':OCH:mogo-och-taxi'))
// taxi乘客端
fOchTaxiPassengerImplementation (project(':OCH:mogo-och-taxi-passenger'))
// 多屏幕-Bus司机端
fMultiDisplayOchBusImplementation (project(':OCH:mogo-och-bus'))
// 多屏幕-Bus乘客端
fMultiDisplayOchBusImplementation (project(':OCH:mogo-och-bus-passenger'))
// 多屏幕-taxi司机端
//接驳车司乘端
fOchShuttleImplementation (project(':OCH:mogo-och-bus'))
fOchShuttlePassengerImplementation (project(':OCH:mogo-och-bus-passenger'))
// taxi司机端
fMultiDisplayOchTaxiImplementation (project(':OCH:mogo-och-taxi'))
// 多屏幕-taxi乘客端
fMultiDisplayOchTaxiImplementation (project(':OCH:mogo-och-taxi-passenger'))
// 清扫车-多屏幕
fMultiDisplaySweeperImplementation (project(':OCH:mogo-och-sweeper'))
}
}