AndroidProjectFiles.SetGradlePropertiesFile

Declaration

public void SetGradlePropertiesFile(string path, Unity.Android.Gradle.GradlePropertiesFile gradleProperties);

Parameters

path The file path to place the gradle.properties file at. This path is relative to the gradle project path.
gradleProperties The representation of module gradle.properties file.

Description

Sets a new gradle.properties file.

To use this method, you must also declare your new file in AndroidProjectFilesModifier.Setup using the AndroidProjectFilesModifierContext.AdditionalOutputs.AddGradlePropertiesFile method.


Did you find this page useful? Please give it a rating: