Endless Gradle:Build

Have problem with Intellij Idea, but it seems gradle related: basically build task is never finished. That happens with old projects and old ones. From terminal everything works. Tried local gradle and gradle wrapper.

Another thing which I notices that gradle starts lots idle daemons if I try to create for instance new projects. But all of them are in IDLE state. Does it mean that IDE shows progress of “build” task, but actually no daemon is working on it?

Is there way to understand why and what happens behind build task?


Initial question from Intellij forum