未验证 提交 ff9c9e35 编写于 作者: O openharmony_ci 提交者: Gitee

!16533 补充Dependency说明

Merge pull request !16533 from junyi233/myfeature
......@@ -777,9 +777,11 @@ preloads标签示例:
**表14** **dependencies标签说明**
| 属性名称 | 含义 | 数据类型 | 是否可缺省 |
| -------- | -------- | -------- | -------- |
| moduleName | 标识当前模块依赖的共享库模块名 | 字符串 | 不可缺省。 |
| 属性名称 | 含义 | 数据类型 | 是否可缺省 |
| ----------- | ------------------------------ | -------- | ---------- |
| bundleName | 标识当前模块依赖的共享包包名。 | 字符串 | 可缺省。 |
| moduleName | 标识当前模块依赖的共享包模块名。| 字符串 | 不可缺省。 |
| versionCode | 标识当前共享包的版本号。 | 数值 | 可缺省。 |
dependencies标签示例:
......@@ -788,7 +790,9 @@ dependencies标签示例:
"module": {
"dependencies": [
{
"moduleName": "library"
"bundleName":"com.share.library",
"moduleName": "library",
"versionCode": 10001
}
]
}
......
......@@ -45,6 +45,8 @@ HAP信息,系统应用可以通过[bundleManager.getBundleInfo](js-apis-bundle
**系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework.Core。
| 名称 | 类型 | 可读 | 可写 | 说明 |
| --------- | -------------- | ---- | ---- | --------------------------- |
|moduleName | string | 是 | 否 | 依赖共享库的模块名称。 |
\ No newline at end of file
| 名称 | 类型 | 可读 | 可写 | 说明 |
| ----------- | ------ | ---- | ---- | ---------------------- |
| bundleName | string | 是 | 否 | 标识当前模块依赖的共享包包名。 |
| moduleName | string | 是 | 否 | 标识当前模块依赖的共享包模块名。 |
| versionCode | number | 是 | 否 | 标识当前共享包的版本号。 |
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册