Display Gradle output in console in Intellij IDEA

2019-01-31 16:06发布

问题:

When running Gradle task from IDEA:

console output looks like:

As one can see, bootRun task failed. But I can't find the reason of the fail.

Is there a way to make Gradle output be displayed in Intellij Console when starting tasks from Gradle window?

回答1:

You can click the icon marked in the image bellow

Toggle tasks executions/text mode

That will switch to the console log of your build and you can see what went wrong.