diff --git a/build-profile.json5 b/build-profile.json5 index 06966fe..e0d07e4 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -37,6 +37,30 @@ ] } ] + }, + { + "name": "common", + "srcPath": "./common", + "targets": [ + { + "name": "default", + "applyToProducts": [ + "default" + ] + } + ] + }, + { + "name": "uikit", + "srcPath": "./uikit", + "targets": [ + { + "name": "default", + "applyToProducts": [ + "default" + ] + } + ] } ] } \ No newline at end of file diff --git a/entry/oh-package-lock.json5 b/entry/oh-package-lock.json5 new file mode 100644 index 0000000..44a087b --- /dev/null +++ b/entry/oh-package-lock.json5 @@ -0,0 +1,26 @@ +{ + "meta": { + "stableOrder": true, + "enableUnifiedLockfile": false + }, + "lockfileVersion": 3, + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", + "specifiers": { + "common@../common": "common@../common", + "uikit@../uikit": "uikit@../uikit" + }, + "packages": { + "common@../common": { + "name": "common", + "version": "1.0.0", + "resolved": "../common", + "registryType": "local" + }, + "uikit@../uikit": { + "name": "uikit", + "version": "1.0.0", + "resolved": "../uikit", + "registryType": "local" + } + } +} \ No newline at end of file diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index 248c3b7..74f7477 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -5,6 +5,9 @@ "main": "", "author": "", "license": "", - "dependencies": {} + "dependencies": { + "common": "file:../common", + "uikit": "file:../uikit" + } } diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 53024e8..d6776f8 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -9,6 +9,11 @@ ], "deliveryWithInstall": true, "installationFree": false, + "requestPermissions": [ + { + "name": "ohos.permission.INTERNET" + } + ], "pages": "$profile:main_pages", "abilities": [ {