Update Travis CI configuration for Gradle