I have a very large project, with many subprojects configured in Gradle. When I make a clean build from the command line, it takes about 10 minutes, but after that the creation of the whole project is very fast.
My problem is to import the project into IntelliJ Community Edition. When importing for the first time, it takes about 10 minutes, but after that, whenever I make an update in a project, it still takes the same amount of time. I see that the background job is running: I see that the messages are displayed very quickly, and then they are stored in Gradle: Build , and I have no idea what it does!
I tried to increase the log level and I see a DEBUG message saying: .project.GradleProjectResolver - Gradle data obtained in 311943 ms , which, in my opinion, is a reason that takes a lot of time, but, as I said, I have no idea what he does which needs this amount of time
By the way, I'm using a gradle shell (not sure if that matters)
Any help is appreciated, thanks in advance
intellij-idea gradle gradlew
Farzad
source share