Unverified 提交 ee981f7d authored 作者: yeliulee's avatar yeliulee

add ohos config for IDE development

Signed-off-by: 's avataryeliulee <yeliuleet@gmail.com> (cherry picked from commit 3071830cc8b2f761a44723d8bae2d573f63c68de)
上级 5dd7e993
/* /*
* Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. * Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
{ {
"app": { app: {
"signingConfigs": [], signingConfigs: [],
"products": [ products: [
{ {
"name": "default", name: "default",
"signingConfig": "default", signingConfig: "default",
"compatibleSdkVersion": "5.0.0(12)", compatibleSdkVersion: "5.0.0(12)",
"runtimeOS": "HarmonyOS", runtimeOS: "HarmonyOS",
}
]
}, },
"modules": [ ],
},
modules: [
{
name: "entry",
srcPath: "./entry",
targets: [
{ {
"name": "entry", name: "default",
"srcPath": "./entry", applyToProducts: ["default"],
"targets": [ },
],
},
{ {
"name": "default", name: "fluwx",
"applyToProducts": [ srcPath: "../../ohos",
"default" targets: [
] {
} name: "default",
] applyToProducts: ["default"],
} },
] ],
},
],
} }
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
"author": "", "author": "",
"license": "", "license": "",
"dependencies": { "dependencies": {
"fluwx": "../../../ohos"
}, },
} }
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
"@ohos/hypium": "1.0.6" "@ohos/hypium": "1.0.6"
}, },
"overrides": { "overrides": {
"@ohos/flutter_ohos": "file:./har/flutter.har" "@ohos/flutter_ohos": "file:./har/flutter.har",
"fluwx": "../../ohos",
} }
} }
...@@ -7,3 +7,4 @@ ...@@ -7,3 +7,4 @@
/.test /.test
/BuildProfile.ets /BuildProfile.ets
/oh-package-lock.json5 /oh-package-lock.json5
*.har
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论