If Gradle task execution fails, now we throw an exception showing the message of the real cause.

Change-Id: I873dd8e9f0f2bf9d364aa7e57089f5bb542a5e66