Version: 2019.4
LanguageEnglish
  • C#
This version of Unity is unsupported.

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.