Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AndroidExternalToolsSettings.gradlePath

public static string gradlePath;

Description

Path to the Gradle which is used when building Android applications.

Providing an empty string or a null will enable "Installed with Unity (recommended)" checkbox in External Tools Preferences window. Providing non-empty string to a valid path will disable "Installed with Unity (recommended)" checkbox in External Tools Preferences window and will use the provided path. Providing non-empty string to an invalid path will throw an exception.