Added flag --debug for gradle.