- Open Project Structure dialog.
- Modify module dependencies as required: for example, remove or add dependencies. Then apply changes and close the dialog box.
IntelliJ IDEA's Gradle integration automatically refreshes the tree view in the JetGradle tool window, when the user makes changes in IntelliJ IDEA project structure.
- In the JetGradle tool window, click refresh button
.
On pressing this button, IntelliJ IDEA parses the project structure, and displays detected differences (if any) in the JetGradle tool window.
Tip
Every time refresh action is performed, progress is shown in the Status bar.

