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

∥☆過路亽.° 提交于 2019-12-01 22:03:44

问题


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:


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!