Specifies the asset packs to include in your application.Ĭustom adle files can also contain the following variables: Variable The directory where Unity creates the Gradle project. If this property is set to signingConfig.release, the build is signed. Specifies a custom ProGuard file to use for minification.Ĭomplete the signingConfigs section if this build is signed. Indicates whether to use ProGuard for minification in release builds. Indicates whether to minify release builds. Indicates whether to use ProGuard for minification in debug builds. Indicates whether to minify debug builds. Unity sets the and APIVERSION to the same value ( Target API Level in the Android Player Settings).Īndroid Application ID. The minimum API version that supports the application. Unity sets the and TARGETSDKVERSION to the same value ( Target API Level in the Android Player Settings). This is the list of libraries that the project uses. You can use the following variables in custom Gradle template files: Variable To verify that your template modifications give the result that you expect, export your project and view the final Gradle project files in the resulting project. Modify the template file to control the final format and contents of the final Gradle project file.This creates a Gradle project template file and displays the path to the file. In the Publishing Settings section, enable the checkbox that corresponds to the Gradle project file type you want to create a custom template for.
0 Comments
Leave a Reply. |