[sweeper]
[3.1.0] [分出两个module]
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
"noop" :{
|
||||
"driver":["fPadLenovo"]
|
||||
},
|
||||
"sweeper" :{
|
||||
"sweeperOperate" :{
|
||||
"driver": ["ochFT"]
|
||||
},
|
||||
"sweeperCloud" :{
|
||||
"driver": ["ochFT"]
|
||||
},
|
||||
"shuttle" :{
|
||||
@@ -36,7 +39,7 @@
|
||||
}
|
||||
},
|
||||
"yantai": {
|
||||
"sweeper" :{
|
||||
"sweeperOperate" :{
|
||||
"driver": ["ochFT"]
|
||||
},
|
||||
"shuttle" :{
|
||||
|
||||
32
app/script/productFlavors/sweeperCloud.gradle
Normal file
32
app/script/productFlavors/sweeperCloud.gradle
Normal file
@@ -0,0 +1,32 @@
|
||||
project.android.productFlavors {
|
||||
// 清扫车业务
|
||||
sweeperCloud {
|
||||
dimension "product"
|
||||
|
||||
manifestPlaceholders = [
|
||||
// 标识
|
||||
CHANNEL_VALUE_HEAD: "Sweeper",
|
||||
// 在启动的时候把Task给清空
|
||||
ACTIVITY_ROOT : true,
|
||||
// Activity的朝向
|
||||
SCREEN_ORIENTATION:"landscape",
|
||||
]
|
||||
|
||||
// ①标识
|
||||
buildConfigField 'String', 'APP_IDENTITY_MODE_HEAD', "\"Sweeper\""
|
||||
|
||||
// ②连接的工控机IP地址
|
||||
buildConfigField 'String', 'ADAS_CONNECT_IP', "\"192.168.8.102\""
|
||||
|
||||
// ③是否需要重写状态栏
|
||||
buildConfigField 'boolean', 'IS_REPLACE_STATUSVIEW', 'false'
|
||||
|
||||
// ④构建 是否支持多屏异显异交互
|
||||
buildConfigField 'boolean', 'IS_MULTI_DISPLAY', 'false'
|
||||
|
||||
|
||||
if(isCurrentFlavors("sweeperCloud")){
|
||||
project.dependencies.add('implementation', project.project(':OCH:sweeper:sweeper-cloud'))
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
project.android.productFlavors {
|
||||
// 清扫车业务
|
||||
sweeper {
|
||||
sweeperOperate {
|
||||
dimension "product"
|
||||
|
||||
manifestPlaceholders = [
|
||||
@@ -25,7 +25,7 @@ project.android.productFlavors {
|
||||
buildConfigField 'boolean', 'IS_MULTI_DISPLAY', 'false'
|
||||
|
||||
|
||||
if(isCurrentFlavors("sweeper")){
|
||||
if(isCurrentFlavors("sweeperOperate")){
|
||||
project.dependencies.add('implementation', project.project(':OCH:sweeper:sweeper'))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user