Display Gradle output in console in Intellij IDEA 2016.1.1

Intellij IdeaGradle

Intellij Idea Problem Overview


When running Gradle task from IDEA:

IDEA Gradle window

console output looks like:

enter image description here

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?

Intellij Idea Solutions


Solution 1 - Intellij Idea

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.

enter image description here

UPDATE: As of 2019.2.3, you don't need to toggle task/console view as you can see now both at the same time:

enter image description here

Solution 2 - Intellij Idea

In IDEA 2019.2.3 the icon has change. See circled icon in image:

enter image description here

Solution 3 - Intellij Idea

Alright, I know it's so obvious that you don't need to tell about it. But I've spent the whole day not getting what's going on)

If you cannot find logs, and see only Gradle steps, probably you just have to expand the logs window. Somehow it was minimized without my notice.

Added a screenshot just in case. Just drag the mouse pointer to the left on the spot circled in red.

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAliaxanderView Question on Stackoverflow
Solution 1 - Intellij IdeaVojtech RuzickaView Answer on Stackoverflow
Solution 2 - Intellij IdeaFarrukh NajmiView Answer on Stackoverflow
Solution 3 - Intellij IdeaLexSavView Answer on Stackoverflow