build-profile.json5 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "app": {
  3. "signingConfigs": [
  4. {
  5. "name": "default",
  6. "type": "HarmonyOS",
  7. "material": {
  8. "storeFile": "sign/basic.p12",
  9. "storePassword": "yt112233",
  10. "keyAlias": "yt112233",
  11. "keyPassword": "yt112233",
  12. "signAlg": "SHA256withECDSA",
  13. "profile": "",
  14. "certpath": "sign/调试证书.cer",
  15. }
  16. }
  17. ],
  18. "products": [
  19. {
  20. "name": "default",
  21. "signingConfig": "default",
  22. "compatibleSdkVersion": "5.0.2(14)",
  23. "runtimeOS": "HarmonyOS",
  24. "buildOption": {
  25. "strictMode": {
  26. "caseSensitiveCheck": true,
  27. "useNormalizedOHMUrl": true
  28. }
  29. }
  30. }
  31. ],
  32. "buildModeSet": [
  33. {
  34. "name": "debug",
  35. },
  36. {
  37. "name": "release"
  38. }
  39. ]
  40. },
  41. "modules": [
  42. {
  43. "name": "entry",
  44. "srcPath": "./products/entry",
  45. "targets": [
  46. {
  47. "name": "default",
  48. "applyToProducts": [
  49. "default"
  50. ]
  51. }
  52. ]
  53. },
  54. {
  55. "name": "basic",
  56. "srcPath": "./commons/basic",
  57. "targets": [
  58. {
  59. "name": "default",
  60. "applyToProducts": [
  61. "default"
  62. ]
  63. }
  64. ]
  65. },
  66. {
  67. "name": "feature",
  68. "srcPath": "./features/feature",
  69. "targets": [
  70. {
  71. "name": "default",
  72. "applyToProducts": [
  73. "default"
  74. ]
  75. }
  76. ]
  77. },
  78. {
  79. "name": "user",
  80. "srcPath": "./features/user",
  81. "targets": [
  82. {
  83. "name": "default",
  84. "applyToProducts": [
  85. "default"
  86. ]
  87. }
  88. ]
  89. }
  90. ]
  91. }