Intellij Idea Community Edition, cannot set `Gradle home`

Solution 1:

In Gradle home option you need provide path to folder where your Gradle distribution was installed.

To determine the Gradle home location of your Gradle installation:

  1. Create build.gradle containing:

    task getHomeDir << {
        println gradle.gradleHomeDir
    }
    
  2. Run

    gradle getHomeDir
    

Reference: Setting up Gradle Plugin For IntelliJ