M0: 搭建多模块工程骨架(T-M0-01/T-M0-02)
- 在 entry 基础上新增 6 个 HAR:contracts/common/platform/domain_resource/feature_bridge/feature_capabilities(框架§4 工程结构) - 依赖单向向下、无环、无传递依赖(T-M0-02): contracts←common←platform←domain_resource;feature_bridge←(contracts,common); feature_capabilities←(全部下层);entry←(全部下层) - 各 HAR 含 build-profile/hvigorfile(harTasks)/module.json5(type:har)/Index.ets 导出入口 - devecocli build(debug) 全模块编译通过,entry 打包 HAP 成功 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
561af47817
commit
6de9038a54
@@ -0,0 +1,3 @@
|
||||
// common HAR —— 横切基础设施(导出入口 SSOT)
|
||||
// 各子模块实现完成后在此统一 export。占位常量确保 HAR 可编译。
|
||||
export const common_MODULE_VERSION: string = '1.0.0';
|
||||
Reference in New Issue
Block a user