IntelliJ IDEA + Gradle - 如何记录从IDE运行的长时间运行的Gradle任务? [英] IntelliJ IDEA + Gradle - How can I log a long running Gradle task run from the IDE?
本文介绍了IntelliJ IDEA + Gradle - 如何记录从IDE运行的长时间运行的Gradle任务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如,这已经运行很长一段时间:
但我有没办法看到发生了什么?日志在哪里?
以下是一个长时间运行的刷新:
在导入项目时查看Gradle输出
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
这篇关于IntelliJ IDEA + Gradle - 如何记录从IDE运行的长时间运行的Gradle任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文