- Open current project settings or template project settings.
- Open the Gradle page. If the environment variables
GRADLE_HOME or PATH have been defined in advance,
IntelliJ IDEA deduces Gradle location from these environment variables, and suggests the deduced path by default.
You can accept the default value, or specify a different Gradle location. In this case, the entered path will override the values of the environment variables.