- Open JetGradle tool window. If a IntelliJ IDEA project is not linked to a Gradle project, the JetGradle tool window is empty.
- Click Add link.
- In the file choose dialog box that opens, select the desired build.gradle file, and click OK. Now as there is a linked Gradle project, the JetGradle tool window shows the toolbar and tree view of Gradle entities.
- In the toolbar of the JetGradle tool window, click
.
The root build.gradle file opens in the editor.

