• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Application Configuration Files (Stage Model)
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9Each application project must have configuration files in its code directory. These configuration files provide basic application information for build tools, operating systems, and application markets.
10
11
12In the code directory of an application project developed in stage model, there are two types of configuration files: one **app.json5** file and one or more **module.json5** files.
13
14>
15> **NOTE**
16>
17> After the compilation, the contents of **app.json5** and **module.json5** in the build product of a single module will merge into a **module.json** file. For details, see [Package Structure in the Build Phase](application-package-structure-stage.md#package-structure-in-the-build-phase).
18>
19
20The [app.json5](app-configuration-file.md) file contains the following information:
21
22
23- Application-wide configuration, including the bundle name, developer, and version number
24
25- Device-specific configuration
26
27
28The [module.json5](module-configuration-file.md) file contains the following information:
29
30
31- Basic module configuration, such as the name, type, description, and supported device types of the module
32
33- Application component information, including the descriptions of the [UIAbility](module-configuration-file.md#abilities) and [ExtensionAbility](module-configuration-file.md#extensionabilities) components
34
35- Information about the permissions required during application running
36