[gradle]
[文件收集]
This commit is contained in:
1
app/script/functions/README.md
Normal file
1
app/script/functions/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# 不同渠道,依赖的实现不一样,需要各个渠道都去依赖各自需要的实现,渠道太多导致build.gradle 文件臃肿,可以通过分gradle文件方式减少臃肿
|
||||
72
app/script/functions/och.gradle
Normal file
72
app/script/functions/och.gradle
Normal 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'))
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user