Using a Gradle native method.
Made some changes for travis and coveralls
execute gradle correctly