声明
# 项目配置
PROJECT_NAME_DES=青青乐
# 开发环境的蒲公英地址
PGY_DOWNLOAD_PATH_DEV=https://www.pgyer.com/qingqingle
# 集成测试环境的蒲公英地址
PGY_DOWNLOAD_PATH_SIT=https://www.pgyer.com/qingqingle
# 用户测试环境的蒲公英地址
PGY_DOWNLOAD_PATH_UAT=https://www.pgyer.com/qingqingle
# 生产环境的蒲公英地址
PGY_DOWNLOAD_PATH_PROD=https://www.pgyer.com/qingqingle
# APP的类型
APP_BUILD_TYPE=${BuildType}
配置
def buildType= "$APP_BUILD_TYPE";
if ("Debug" == buildType){
return ["PGY_DOWNLOAD_PATH" : "$PGY_DOWNLOAD_PATH_DEV"]
} else if ("Sit" == buildType){
return ["PGY_DOWNLOAD_PATH" : "$PGY_DOWNLOAD_PATH_SIT"]
} else if ("Uat" == buildType){
return ["PGY_DOWNLOAD_PATH" : "$PGY_DOWNLOAD_PATH_UAT"]
} else if ("Release" == buildType){
return ["PGY_DOWNLOAD_PATH" : "$PGY_DOWNLOAD_PATH_PROD"]
} else {
return ["PGY_DOWNLOAD_PATH" : ""];
}
网友评论