Per - Branch module structure
已回答
We have a big, Gradle managed project and use the Gradle plugin in order to build IntelliJ projects. Unfortunately, hitting the Gradle refresh button takes up to 5 minutes to complete, which is a real time killer when switching between branches where dependencies have been changed (which happens quite often). Is there any chance or recommendation on how to speed such things up ? It would be great if IntelliJ could cache the module structure for every branch automatically since I'm not really a fan of checking in IntelliJ specific files.
Thanks!
Peter
请先登录再写评论。
One of the options is to check out each branch to a separate location and create a separate project for it. You could combine projects under the same IDE project and include/exclude these projects from Gradle tool window by selecting Ignore option from context menu of the specific Gradle project.