Synchronizing Changes in Gradle Project and IntelliJ IDEA Project
Once a Gradle project is imported into IntelliJ IDEA, you can explore its structure, make changes to both, the structure of the original Gradle project and the resulting IntelliJ IDEA project, synchronize structures of the two projects.
Synchronizing Structure of Gradle and IntelliJ IDEA Projects
- In the Gradle tool window, click refresh button .
On pressing this button, IntelliJ IDEA parses the project structure in the Gradle tool window.
Note that if you configure a dependency through the Project Structure dialog, the dependency will only appear in the IntelliJ IDEA Project tool window, not in the Gradle tool window.