Display Gradle output in console in Intellij IDEA 2016.1.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.
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: