Fixing travis and build.gradle