Update build.gradle for Travis CI