Not sure if I understand how “Refresh Gradle Project” works.
If I add a dependency to a project in my workspace that is only ever referenced in the deploy configuration for the “ear” task Buildship still synchronizes all projects in my Eclipse workspace when hitting Refresh project. Since the build contains ~200 modules this takes several minutes to finish. I would have expected that Gradle will only refresh the projects that depend on the changed project. Can someone explain how “Refresh Gradle project” works?
With such a large workspace changes in project dependencies become pretty annoying. After performing a flight recorder analysis Buildship seems to spend most of the time in “org.eclipse.core.internal.resources.Resource.refreshLocal()” which seems to be pretty slow.