This version of Unity is unsupported.

AndroidProjectFiles

class in UnityEditor.Android

Description

A class to store C# representations of all Gradle project files.

The class is used to pass Gradle configuration files objects to the AndroidProjectFilesModifier.OnModifyAndroidProjectFiles callback.

Properties

AdditionalLibrariesBuildGradleFilesA representation of the build.gradle files that were added to plugins (libraries) that didn't have a build.gradle file.
GradlePropertiesA representation of the gradle.properties file: {gradleProject}/settings.gradle.
GradleSettingsA representation of the settings.gradle file: {gradleProject}/settings.gradle.
LauncherBuildGradleA representation of the launcher build.gradle file: {gradleProject}/launcher/build.gradle.
LauncherManifestA representation of the launcher manifest file: {gradleProject}/launcher/src/main/AndroidManifest.xml.
ProjectLevelBuildGradleA representation of the project level (root) build.gradle file: {gradleProject}/build.gradle.
UnityLibraryBuildGradleA representation of the Unity library build.gradle file: {gradleProject}/unityLibrary/build.gradle.
UnityLibraryManifestA representation of the Unity library manifest file: {gradleProject}/unityLibrary/src/main/AndroidManifest.xml.

Public Methods

SetBuildGradleFileSets a new build.gradle file.
SetGradlePropertiesFileSets a new gradle.properties file.
SetGradleSettingsFileSets a new settings.gradle file.
SetManifestFileSets a new Android Manifest file.