Gradle project files configure different aspects of your application, such as the modules to include and how to build them.
The following table lists the GradleAn Android build system that automates several build processes. This automation means that many common build errors are less likely to occur. More info
See in Glossary project files that exist for Unity projects and describes the purpose of each one.
Gradle project file | Purpose |
---|---|
Main Manifest | Contains important metadata about your Android application. For more information about the responsibilities of the Main/Unity Library Manifest, refer to Unity Library Manifest. |
Unity Launcher Manifest | Contains important metadata about your Android application’s launcher. For more information, refer to Unity Launcher Manifest. |
Main Gradle | Contains information on how to build your Android application as a library. |
Launcher Gradle | Contains instructions on how to build your Android application. |
Base Gradle | Contains configuration that’s shared between all other templates and Gradle projects. |
Gradle Properties | Contains configuration settings for the Gradle build environment. This includes:
|
Gradle Settings | Contains declaration of artifact repositories to resolve external dependencies required for your application. |
Proguard | Contains configuration settings for the minification process. Note: If minification removes necessary Java code, add a rule in this file to keep that code. |