HMDemo/build-profile.json5

84 lines
1.8 KiB
Plaintext
Raw Normal View History

2024-02-27 10:53:52 +08:00
{
2024-03-07 11:53:57 +08:00
// app的构建配置
2024-02-27 10:53:52 +08:00
"app": {
2024-03-07 11:53:57 +08:00
//签名配置
2024-03-28 21:15:44 +08:00
"signingConfigs": [
{
"name": "default",
"type": "HarmonyOS",
"material": {
"certpath": "build_script/sign/HM4Demo.cer",
"storePassword": "0000001B9C6223E8C618FEFD3D871B066F744A4E9C03C09D8ED7E7C7ECE6C1F53A54A6748EC341B960E492",
"keyAlias": "debugKey",
"keyPassword": "0000001B63515E7120BC166D17A66B98A717DE9B06276194E4317B5317F70EA2835B8AD262B9DD4FD6AB55",
"profile": "build_script/sign/HM4Demo.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "build_script/sign/HM4Demo.p12"
}
}
2024-03-28 21:15:44 +08:00
],
2024-03-07 11:53:57 +08:00
//产品配置
2024-02-27 10:53:52 +08:00
"products": [
{
"name": "default",
"signingConfig": "default",
"compileSdkVersion": "4.1.0(11)",
2024-02-28 15:07:18 +08:00
"compatibleSdkVersion": "4.0.0(10)",
2024-02-27 10:53:52 +08:00
"runtimeOS": "HarmonyOS",
}
],
2024-03-07 11:53:57 +08:00
//构建类型集合
2024-02-27 10:53:52 +08:00
"buildModeSet": [
{
"name": "debug",
},
{
"name": "release"
}
]
},
2024-03-07 11:53:57 +08:00
//组件集合
2024-02-27 10:53:52 +08:00
"modules": [
2024-03-07 11:53:57 +08:00
// app组件
2024-02-27 10:53:52 +08:00
{
2024-03-07 11:53:57 +08:00
// 组件名称
2024-02-27 10:53:52 +08:00
"name": "app",
2024-03-07 11:53:57 +08:00
// 组件源码位置
2024-02-27 10:53:52 +08:00
"srcPath": "./app",
2024-03-07 11:53:57 +08:00
// 构建目标
2024-02-27 10:53:52 +08:00
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
2024-03-07 11:33:23 +08:00
},
2024-03-07 11:53:57 +08:00
//shareLib组件
2024-03-07 11:33:23 +08:00
{
2024-03-07 11:53:57 +08:00
"name": "common_ui",
"srcPath": "./common_ui",
2024-03-07 11:33:23 +08:00
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
},
{
"name": "base",
"srcPath": "./base",
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
2024-02-27 10:53:52 +08:00
}
]
}