Search code examples
intellij-ideagradletasklong-running-processes

IntelliJ IDEA + Gradle - How can I log a long running Gradle task run from the IDE?


IntelliJ IDEA sometimes takes a long time to do a Gradle refresh task or run a Gradle task. It will just kinda spin for a long time leaving you wondering how far along it is or if it's even doing anything at all or frozen?

For example this has been running for a long time:

intellij screenshot for run tasks

But I have no way to see what is happening? Where are the logs?

Here is a long running refresh:

intellij screenshot for long running refresh project


Solution

  • There is no way to get the logs from IntelliJ IDEA when Gradle project is imported/refreshed, please vote for the feature request:

    • IDEA-157505 View Gradle output when importing project