HarmonyOS feature plug-ins
A collection of feature plug-ins for HarmonyOS applications.
Install HarmonyOS build certificates
Installs certificates for signing HarmonyOS applications to a specified directory.
Option | Description |
Certificate directory | The directory where the certificate is installed. The path is relative to the root directory of your code. Note Default path: ./sign |
p12 certificate | Select a configured p12 certificate. |
cer certificate | Select a configured cer certificate. |
p7b certificate | Select a configured p7b certificate. |
Replace the HarmonyOS application version
Specifies the version number to use for the application build in HarmonyOS scenarios. If the Replace Application Version Number stage is not enabled, the application version number defaults to the code version number.
Option | Description |
versionCode | Sets the version number for the published HarmonyOS app. |
versionName | Sets the version name for the published HarmonyOS app. |
bundleName | (Optional) Sets the identity for the HarmonyOS app. |
Install HarmonyOS application dependencies
Installs dependencies based on the oh-package.json5 file of each module.
Option | Description |
clean | Performs a cleanup before installation. |
install | Installs dependencies. If a lockfile exists, the version specified in the lockfile is installed with priority. |
update | Retrieves new versions and installs the corresponding dependencies. |