Once a Gradle project is imported into IntelliJ IDEA, you can explore its structure, make changes both to the structure of the original Gradle project and to the resulting IntelliJ IDEA project, synchronize structures of the two projects, and explore differences.

In this section:

    Synchronizing structure of gradle and intellij idea projects

    • In the Gradle tool window, click refresh button refresh.

      On pressing this button, IntelliJ IDEA parses the project structure and displays detected differences (if any) 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.

    Every time refresh action is performed, progress is shown in the Status bar.

    See Also

    Reference:

    External Links: