build: add release debug build type
This commit is contained in:
@@ -130,6 +130,7 @@ APK 文件名会自动包含应用名、版本号、版本代码、构建类型
|
||||
| 构建类型 | 后端环境 | 调试 | 代码压缩 |
|
||||
| --- | --- | --- | --- |
|
||||
| `debug` | 测试环境 `api-test.zhifly.cn` | 开启 | 关闭 |
|
||||
| `releaseDebug` | 正式环境 `api.zhifly.cn` | 开启 | 关闭 |
|
||||
| `release` | 正式环境 `api.zhifly.cn` | 关闭 | 关闭 |
|
||||
|
||||
请勿使用 Release 包连接测试设备随意操作,Release 会访问正式接口并连接正式 WebSocket。
|
||||
|
||||
@@ -161,6 +161,13 @@ android {
|
||||
"\"https://vipsky.oss-cn-shanghai.aliyuncs.com/cloud_driver\""
|
||||
)
|
||||
}
|
||||
|
||||
create("releaseDebug") {
|
||||
initWith(getByName("release"))
|
||||
isDebuggable = true
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
matchingFallbacks += listOf("release", "debug")
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
Reference in New Issue
Block a user