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:
But I have no way to see what is happening? Where are the logs?
Here is a long running refresh:
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
来源:https://stackoverflow.com/questions/42489300/intellij-idea-gradle-how-can-i-log-a-long-running-gradle-task-run-from-the-i